Warning: Permanently added '163.107.90.248' (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/9382648-fedora-42-s390x --chroot fedora-42-s390x Version: 1.3 PID: 2684 Logging PID: 2685 Task: {'allow_user_ssh': False, 'appstream': False, 'background': True, 'build_id': 9382648, 'buildroot_pkgs': [], 'chroot': 'fedora-42-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': '32ee02f3d5875dc41f5cdfffea780e70fbccd944', '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': '2025.3.30-2', '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-42-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/orion', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'storage': None, 'submitter': 'https://src.fedoraproject.org/user/orion', 'tags': [], 'task_id': '9382648-fedora-42-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-zizudo1r/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-zizudo1r/python-imagecodecs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs'... Running: git checkout 32ee02f3d5875dc41f5cdfffea780e70fbccd944 -- cmd: ['git', 'checkout', '32ee02f3d5875dc41f5cdfffea780e70fbccd944', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs rc: 0 stdout: stderr: Note: switching to '32ee02f3d5875dc41f5cdfffea780e70fbccd944'. 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 32ee02f automatic import of python-imagecodecs Running: dist-git-client sources cmd: ['dist-git-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading imagecodecs-2025.3.30.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o imagecodecs-2025.3.30.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-2025.3.30.tar.gz/md5/1b319cc9de77f84f93d98b53a5fe9ba6/imagecodecs-2025.3.30.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 9283k 100 9283k 0 0 4745k 0 0:00:01 0:00:01 --:--:-- 4743k INFO: Reading stdout from command: md5sum imagecodecs-2025.3.30.tar.gz tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1754573609.551421 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 6.3 starting (python version = 3.13.5, NVR = mock-6.3-1.fc42), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1754573609.551421 -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-zizudo1r/python-imagecodecs/python-imagecodecs.spec) Config(fedora-42-s390x) Start: clean chroot Finish: clean chroot Mock Version: 6.3 INFO: Mock Version: 6.3 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-42-s390x-bootstrap-1754573609.551421/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using container image: registry.fedoraproject.org/fedora:42 INFO: Pulling image: registry.fedoraproject.org/fedora:42 INFO: Tagging container image as mock-bootstrap-14f47184-8998-4034-a839-24e6d141e36f INFO: Checking that 601652224d0fd54a6d02bb61afa152a20dbd229065c5bc303a2c76f298fb60e9 image matches host's architecture INFO: Copy content of container 601652224d0fd54a6d02bb61afa152a20dbd229065c5bc303a2c76f298fb60e9 to /var/lib/mock/fedora-42-s390x-bootstrap-1754573609.551421/root INFO: mounting 601652224d0fd54a6d02bb61afa152a20dbd229065c5bc303a2c76f298fb60e9 with podman image mount INFO: image 601652224d0fd54a6d02bb61afa152a20dbd229065c5bc303a2c76f298fb60e9 as /var/lib/containers/storage/overlay/acec8fae0118b94c8da472bfba42cf8e17226202b55cfd6f28e24552425ae54b/merged INFO: umounting image 601652224d0fd54a6d02bb61afa152a20dbd229065c5bc303a2c76f298fb60e9 (/var/lib/containers/storage/overlay/acec8fae0118b94c8da472bfba42cf8e17226202b55cfd6f28e24552425ae54b/merged) with podman image umount INFO: Removing image mock-bootstrap-14f47184-8998-4034-a839-24e6d141e36f INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-42-s390x-1754573609.551421/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.1-1.fc42.s390x rpm-sequoia-1.7.0-5.fc42.s390x dnf5-5.2.15.0-2.fc42.s390x dnf5-plugins-5.2.15.0-2.fc42.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: Copr repository 100% | 1.5 MiB/s | 3.1 MiB | 00m02s Additional repo http_kojipkgs_fedorapr 100% | 3.9 MiB/s | 13.9 MiB | 00m04s updates 100% | 1.4 MiB/s | 8.0 MiB | 00m06s fedora 100% | 4.4 MiB/s | 32.7 MiB | 00m07s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 5.3.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.6 MiB bzip2 s390x 1.0.8-21.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 86.9 KiB coreutils s390x 9.7-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.7 MiB cpio s390x 2.15-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB diffutils s390x 3.12-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB fedora-release-common noarch 43-0.19 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.4 KiB findutils s390x 1:4.10.0-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB gawk s390x 5.3.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB glibc-minimal-langpack s390x 2.42-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B grep s390x 3.12-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB gzip s390x 1.13-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 396.5 KiB info s390x 7.2-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 397.0 KiB patch s390x 2.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 238.3 KiB redhat-rpm-config noarch 343-10.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 182.9 KiB rpm-build s390x 5.99.91-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 279.5 KiB sed s390x 4.9-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 865.0 KiB shadow-utils s390x 2:4.18.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.0 MiB tar s390x 2:1.35-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB unzip s390x 6.0-67.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 393.5 KiB util-linux s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.4 MiB which s390x 2.23-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 83.2 KiB xz s390x 1:5.8.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 MiB Installing dependencies: add-determinism s390x 0.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.7 MiB alternatives s390x 1.33-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 62.0 KiB ansible-srpm-macros noarch 1-18.1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.7 KiB audit-libs s390x 4.1.1-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 398.1 KiB binutils s390x 2.45-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.0 MiB build-reproducibility-srpm-macros noarch 0.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 735.0 B bzip2-libs s390x 1.0.8-21.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 84.4 KiB ca-certificates noarch 2024.2.69_v8.0.401-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB coreutils-common s390x 9.7-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.3 MiB crypto-policies noarch 20250714-3.gitcd6043a.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 146.9 KiB curl s390x 8.15.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 501.4 KiB cyrus-sasl-lib s390x 2.1.28-33.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB debugedit s390x 5.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 201.3 KiB dwz s390x 0.16-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 310.4 KiB ed s390x 1.22-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 146.8 KiB efi-srpm-macros noarch 6-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 40.1 KiB elfutils s390x 0.193-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB elfutils-debuginfod-client s390x 0.193-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 75.5 KiB elfutils-default-yama-scope noarch 0.193-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 KiB elfutils-libelf s390x 0.193-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB elfutils-libs s390x 0.193-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 774.2 KiB fedora-gpg-keys noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 129.0 KiB fedora-release noarch 43-0.19 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B fedora-release-identity-basic noarch 43-0.19 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 664.0 B fedora-repos noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.9 KiB fedora-repos-rawhide noarch 43-0.2 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 KiB file s390x 5.46-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 100.0 KiB file-libs s390x 5.46-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 11.9 MiB filesystem s390x 3.18-50.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B filesystem-srpm-macros noarch 3.18-50.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.2 KiB fonts-srpm-macros noarch 1:2.0.5-23.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 55.8 KiB forge-srpm-macros noarch 0.4.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 38.9 KiB fpc-srpm-macros noarch 1.3-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 144.0 B gdb-minimal s390x 16.3-4.fc43 copr_base 15.2 MiB gdbm-libs s390x 1:1.23-10.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 125.4 KiB ghc-srpm-macros noarch 1.9.2-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 779.0 B glibc s390x 2.42-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 5.2 MiB glibc-common s390x 2.42-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB glibc-gconv-extra s390x 2.42-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.7 MiB gmp s390x 1:6.3.0-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 773.9 KiB gnat-srpm-macros noarch 6-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 KiB gnupg2 s390x 2.4.8-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.6 MiB gnupg2-dirmngr s390x 2.4.8-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 661.7 KiB gnupg2-gpg-agent s390x 2.4.8-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 718.3 KiB gnupg2-gpgconf s390x 2.4.8-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 269.4 KiB gnupg2-keyboxd s390x 2.4.8-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 209.1 KiB gnupg2-verify s390x 2.4.8-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 364.2 KiB gnutls s390x 3.8.10-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.5 MiB go-srpm-macros noarch 3.7.0-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.6 KiB gpgverify noarch 2.2-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.7 KiB ima-evm-utils-libs s390x 1.6.2-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 56.4 KiB jansson s390x 2.14-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.8 KiB java-srpm-macros noarch 1-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 870.0 B json-c s390x 0.18-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 82.4 KiB kernel-srpm-macros noarch 1.0-27.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB keyutils-libs s390x 1.6.3-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 50.0 KiB krb5-libs s390x 1.21.3-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.4 MiB libacl s390x 2.3.2-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.7 KiB libarchive s390x 3.8.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB libassuan s390x 2.5.7-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 163.6 KiB libattr s390x 2.5.2-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 24.2 KiB libblkid s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 282.3 KiB libbrotli s390x 1.1.0-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 916.7 KiB libcap s390x 2.76-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 211.1 KiB libcap-ng s390x 0.8.5-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 60.4 KiB libcom_err s390x 1.47.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 58.9 KiB libcurl s390x 8.15.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 947.0 KiB libeconf s390x 0.7.9-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 64.7 KiB libevent s390x 2.1.12-16.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 914.1 KiB libfdisk s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 394.7 KiB libffi s390x 3.5.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 79.2 KiB libfsverity s390x 1.6-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 24.2 KiB libgcc s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 169.2 KiB libgcrypt s390x 1.11.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB libgomp s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 546.7 KiB libgpg-error s390x 1.55-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 930.8 KiB libidn2 s390x 2.3.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 564.3 KiB libksba s390x 1.6.7-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 410.3 KiB liblastlog2 s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 33.4 KiB libmount s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 388.1 KiB libnghttp2 s390x 1.66.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 165.7 KiB libpkgconf s390x 2.3.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.7 KiB libpsl s390x 0.21.5-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 76.2 KiB libselinux s390x 3.9-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 208.9 KiB libsemanage s390x 3.9-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 312.0 KiB libsepol s390x 3.9-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 853.6 KiB libsmartcols s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.2 KiB libssh s390x 0.11.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 582.4 KiB libssh-config noarch 0.11.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 277.0 B libstdc++ s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.2 MiB libtasn1 s390x 4.20.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 188.1 KiB libtool-ltdl s390x 2.5.4-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 69.7 KiB libunistring s390x 1.1-10.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB libusb1 s390x 1.0.29-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 170.6 KiB libuuid s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 33.1 KiB libverto s390x 0.3.2-11.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 25.1 KiB libxcrypt s390x 4.4.38-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 288.2 KiB libxml2 s390x 2.12.10-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB libzstd s390x 1.5.7-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 875.5 KiB lua-libs s390x 5.4.8-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 316.8 KiB lua-srpm-macros noarch 1-16.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.3 KiB lz4-libs s390x 1.10.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 201.2 KiB mpfr s390x 4.2.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 699.5 KiB ncurses-base noarch 6.5-7.20250614.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 328.1 KiB ncurses-libs s390x 6.5-7.20250614.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB nettle s390x 3.10.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 829.7 KiB npth s390x 1.8-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 45.2 KiB ocaml-srpm-macros noarch 11-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB openblas-srpm-macros noarch 2-20.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 112.0 B openldap s390x 2.6.10-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 669.3 KiB openssl-libs s390x 1:3.5.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 7.3 MiB p11-kit s390x 0.25.5-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB p11-kit-trust s390x 0.25.5-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 462.9 KiB package-notes-srpm-macros noarch 0.5-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 KiB pam-libs s390x 1.7.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 122.1 KiB pcre2 s390x 10.45-1.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 717.0 KiB pcre2-syntax noarch 10.45-1.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 273.9 KiB perl-srpm-macros noarch 1-60.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 861.0 B pkgconf s390x 2.3.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 88.2 KiB pkgconf-m4 noarch 2.3.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 14.4 KiB pkgconf-pkg-config s390x 2.3.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 988.0 B popt s390x 1.19-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 140.5 KiB publicsuffix-list-dafsa noarch 20250616-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 69.1 KiB pyproject-srpm-macros noarch 1.18.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 KiB python-srpm-macros noarch 3.14-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 51.5 KiB qt5-srpm-macros noarch 5.15.17-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 500.0 B qt6-srpm-macros noarch 6.9.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 464.0 B readline s390x 8.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 575.3 KiB rpm s390x 5.99.91-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB rpm-build-libs s390x 5.99.91-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 275.9 KiB rpm-libs s390x 5.99.91-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB rpm-sequoia s390x 1.9.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.6 MiB rpm-sign-libs s390x 5.99.91-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 35.5 KiB rust-srpm-macros noarch 26.3-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.8 KiB setup noarch 2.15.0-26.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 725.0 KiB sqlite-libs s390x 3.50.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.7 MiB systemd-libs s390x 257.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.3 MiB systemd-standalone-sysusers s390x 257.7-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 281.2 KiB tpm2-tss s390x 4.1.3-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB tree-sitter-srpm-macros noarch 0.4.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 8.3 KiB util-linux-core s390x 2.41.1-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.4 MiB xxhash-libs s390x 0.8.3-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 65.7 KiB xz-libs s390x 1:5.8.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 221.3 KiB zig-srpm-macros noarch 1-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 KiB zip s390x 3.0-44.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 729.6 KiB zlib-ng-compat s390x 2.2.4-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 109.1 KiB zstd s390x 1.5.7-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 169 packages Total size of inbound packages is 59 MiB. Need to download 59 MiB. After this operation, 201 MiB extra will be used (install 201 MiB, remove 0 B). [ 1/169] bzip2-0:1.0.8-21.fc43.s390x 100% | 51.7 KiB/s | 52.4 KiB | 00m01s [ 2/169] coreutils-0:9.7-5.fc43.s390x 100% | 771.5 KiB/s | 1.2 MiB | 00m02s [ 3/169] cpio-0:2.15-6.fc43.s390x 100% | 503.4 KiB/s | 290.5 KiB | 00m01s [ 4/169] bash-0:5.3.0-2.fc43.s390x 100% | 1.1 MiB/s | 1.9 MiB | 00m02s [ 5/169] fedora-release-common-0:43-0. 100% | 89.8 KiB/s | 25.4 KiB | 00m00s [ 6/169] diffutils-0:3.12-3.fc43.s390x 100% | 1.3 MiB/s | 395.6 KiB | 00m00s [ 7/169] findutils-1:4.10.0-6.fc43.s39 100% | 1.8 MiB/s | 546.8 KiB | 00m00s [ 8/169] glibc-minimal-langpack-0:2.42 100% | 129.7 KiB/s | 37.0 KiB | 00m00s [ 9/169] gawk-0:5.3.2-2.fc43.s390x 100% | 2.6 MiB/s | 1.1 MiB | 00m00s [ 10/169] grep-0:3.12-2.fc43.s390x 100% | 1.0 MiB/s | 294.1 KiB | 00m00s [ 11/169] gzip-0:1.13-4.fc43.s390x 100% | 597.4 KiB/s | 170.9 KiB | 00m00s [ 12/169] info-0:7.2-6.fc43.s390x 100% | 674.4 KiB/s | 192.9 KiB | 00m00s [ 13/169] patch-0:2.8-2.fc43.s390x 100% | 413.4 KiB/s | 119.5 KiB | 00m00s [ 14/169] redhat-rpm-config-0:343-10.fc 100% | 258.3 KiB/s | 73.1 KiB | 00m00s [ 15/169] rpm-build-0:5.99.91-3.fc43.s3 100% | 458.3 KiB/s | 131.1 KiB | 00m00s [ 16/169] sed-0:4.9-5.fc43.s390x 100% | 1.1 MiB/s | 310.7 KiB | 00m00s [ 17/169] shadow-utils-2:4.18.0-3.fc43. 100% | 2.9 MiB/s | 1.2 MiB | 00m00s [ 18/169] tar-2:1.35-6.fc43.s390x 100% | 2.9 MiB/s | 865.4 KiB | 00m00s [ 19/169] unzip-0:6.0-67.fc43.s390x 100% | 673.8 KiB/s | 192.7 KiB | 00m00s [ 20/169] util-linux-0:2.41.1-15.fc43.s 100% | 3.9 MiB/s | 1.1 MiB | 00m00s [ 21/169] which-0:2.23-3.fc43.s390x 100% | 150.9 KiB/s | 43.0 KiB | 00m00s [ 22/169] xz-1:5.8.1-2.fc43.s390x 100% | 1.9 MiB/s | 558.9 KiB | 00m00s [ 23/169] coreutils-common-0:9.7-5.fc43 100% | 7.1 MiB/s | 2.1 MiB | 00m00s [ 24/169] fedora-repos-0:43-0.2.noarch 100% | 32.7 KiB/s | 9.2 KiB | 00m00s [ 25/169] glibc-0:2.42-2.fc43.s390x 100% | 4.2 MiB/s | 1.8 MiB | 00m00s [ 26/169] glibc-common-0:2.42-2.fc43.s3 100% | 1.1 MiB/s | 336.7 KiB | 00m00s [ 27/169] java-srpm-macros-0:1-7.fc43.n 100% | 27.9 KiB/s | 7.9 KiB | 00m00s [ 28/169] rpm-0:5.99.91-3.fc43.s390x 100% | 1.8 MiB/s | 533.1 KiB | 00m00s [ 29/169] libblkid-0:2.41.1-15.fc43.s39 100% | 446.0 KiB/s | 127.6 KiB | 00m00s [ 30/169] libfdisk-0:2.41.1-15.fc43.s39 100% | 575.1 KiB/s | 164.5 KiB | 00m00s [ 31/169] liblastlog2-0:2.41.1-15.fc43. 100% | 78.4 KiB/s | 22.4 KiB | 00m00s [ 32/169] libmount-0:2.41.1-15.fc43.s39 100% | 566.7 KiB/s | 163.2 KiB | 00m00s [ 33/169] libsmartcols-0:2.41.1-15.fc43 100% | 296.6 KiB/s | 84.8 KiB | 00m00s [ 34/169] libuuid-0:2.41.1-15.fc43.s390 100% | 92.0 KiB/s | 26.3 KiB | 00m00s [ 35/169] util-linux-core-0:2.41.1-15.f 100% | 1.8 MiB/s | 541.5 KiB | 00m00s [ 36/169] xz-libs-1:5.8.1-2.fc43.s390x 100% | 412.3 KiB/s | 117.9 KiB | 00m00s [ 37/169] fedora-gpg-keys-0:43-0.2.noar 100% | 443.1 KiB/s | 125.8 KiB | 00m00s [ 38/169] glibc-gconv-extra-0:2.42-2.fc 100% | 3.6 MiB/s | 1.6 MiB | 00m00s [ 39/169] fedora-repos-rawhide-0:43-0.2 100% | 31.0 KiB/s | 8.8 KiB | 00m00s [ 40/169] rpm-libs-0:5.99.91-3.fc43.s39 100% | 1.4 MiB/s | 407.9 KiB | 00m00s [ 41/169] rpm-sequoia-0:1.9.0-2.fc43.s3 100% | 3.2 MiB/s | 947.3 KiB | 00m00s [ 42/169] rpm-build-libs-0:5.99.91-3.fc 100% | 455.2 KiB/s | 129.3 KiB | 00m00s [ 43/169] rpm-sign-libs-0:5.99.91-3.fc4 100% | 97.1 KiB/s | 27.7 KiB | 00m00s [ 44/169] filesystem-0:3.18-50.fc43.s39 100% | 4.5 MiB/s | 1.3 MiB | 00m00s [ 45/169] libgcc-0:15.1.1-5.fc43.1.s390 100% | 312.7 KiB/s | 88.8 KiB | 00m00s [ 46/169] libselinux-0:3.9-2.fc43.s390x 100% | 351.8 KiB/s | 100.6 KiB | 00m00s [ 47/169] libsepol-0:3.9-2.fc43.s390x 100% | 1.2 MiB/s | 348.5 KiB | 00m00s [ 48/169] libxcrypt-0:4.4.38-8.fc43.s39 100% | 464.7 KiB/s | 132.0 KiB | 00m00s [ 49/169] ncurses-libs-0:6.5-7.20250614 100% | 1.2 MiB/s | 360.0 KiB | 00m00s [ 50/169] ncurses-base-0:6.5-7.20250614 100% | 224.2 KiB/s | 63.7 KiB | 00m00s [ 51/169] systemd-libs-0:257.7-1.fc43.s 100% | 2.7 MiB/s | 793.0 KiB | 00m00s [ 52/169] audit-libs-0:4.1.1-1.fc43.s39 100% | 492.5 KiB/s | 140.9 KiB | 00m00s [ 53/169] libcap-ng-0:0.8.5-6.fc43.s390 100% | 114.4 KiB/s | 32.6 KiB | 00m00s [ 54/169] pam-libs-0:1.7.1-3.fc43.s390x 100% | 205.7 KiB/s | 58.4 KiB | 00m00s [ 55/169] readline-0:8.3-2.fc43.s390x 100% | 841.7 KiB/s | 241.6 KiB | 00m00s [ 56/169] zlib-ng-compat-0:2.2.4-3.fc43 100% | 233.2 KiB/s | 66.9 KiB | 00m00s [ 57/169] bzip2-libs-0:1.0.8-21.fc43.s3 100% | 167.6 KiB/s | 47.6 KiB | 00m00s [ 58/169] libacl-0:2.3.2-4.fc43.s390x 100% | 87.5 KiB/s | 24.9 KiB | 00m00s [ 59/169] libcap-0:2.76-2.fc43.s390x 100% | 314.2 KiB/s | 90.2 KiB | 00m00s [ 60/169] libeconf-0:0.7.9-2.fc43.s390x 100% | 128.7 KiB/s | 36.5 KiB | 00m00s [ 61/169] libsemanage-0:3.9-2.fc43.s390 100% | 428.4 KiB/s | 122.5 KiB | 00m00s [ 62/169] setup-0:2.15.0-26.fc43.noarch 100% | 532.4 KiB/s | 151.2 KiB | 00m00s [ 63/169] gnupg2-0:2.4.8-4.fc43.s390x 100% | 3.8 MiB/s | 1.6 MiB | 00m00s [ 64/169] gpgverify-0:2.2-3.fc43.noarch 100% | 39.0 KiB/s | 11.1 KiB | 00m00s [ 65/169] gnupg2-dirmngr-0:2.4.8-4.fc43 100% | 1.0 MiB/s | 288.0 KiB | 00m00s [ 66/169] gnupg2-gpg-agent-0:2.4.8-4.fc 100% | 993.9 KiB/s | 285.2 KiB | 00m00s [ 67/169] gnupg2-gpgconf-0:2.4.8-4.fc43 100% | 426.4 KiB/s | 122.0 KiB | 00m00s [ 68/169] gnupg2-keyboxd-0:2.4.8-4.fc43 100% | 344.8 KiB/s | 97.9 KiB | 00m00s [ 69/169] gnupg2-verify-0:2.4.8-4.fc43. 100% | 611.9 KiB/s | 175.0 KiB | 00m00s [ 70/169] ima-evm-utils-libs-0:1.6.2-6. 100% | 100.8 KiB/s | 29.0 KiB | 00m00s [ 71/169] libfsverity-0:1.6-3.fc43.s390 100% | 64.2 KiB/s | 18.2 KiB | 00m00s [ 72/169] libstdc++-0:15.1.1-5.fc43.1.s 100% | 3.4 MiB/s | 1.0 MiB | 00m00s [ 73/169] popt-0:1.19-9.fc43.s390x 100% | 214.6 KiB/s | 61.4 KiB | 00m00s [ 74/169] libzstd-0:1.5.7-2.fc43.s390x 100% | 1.2 MiB/s | 348.6 KiB | 00m00s [ 75/169] lua-libs-0:5.4.8-2.fc43.s390x 100% | 492.3 KiB/s | 141.3 KiB | 00m00s [ 76/169] openssl-libs-1:3.5.1-2.fc43.s 100% | 4.1 MiB/s | 2.3 MiB | 00m01s [ 77/169] sqlite-libs-0:3.50.2-2.fc43.s 100% | 2.7 MiB/s | 807.8 KiB | 00m00s [ 78/169] elfutils-libelf-0:0.193-3.fc4 100% | 741.7 KiB/s | 212.9 KiB | 00m00s [ 79/169] elfutils-libs-0:0.193-3.fc43. 100% | 1.0 MiB/s | 289.5 KiB | 00m00s [ 80/169] elfutils-0:0.193-3.fc43.s390x 100% | 2.0 MiB/s | 587.7 KiB | 00m00s [ 81/169] elfutils-debuginfod-client-0: 100% | 165.9 KiB/s | 47.3 KiB | 00m00s [ 82/169] file-libs-0:5.46-6.fc43.s390x 100% | 2.9 MiB/s | 854.3 KiB | 00m00s [ 83/169] file-0:5.46-6.fc43.s390x 100% | 171.9 KiB/s | 49.0 KiB | 00m00s [ 84/169] libgomp-0:15.1.1-5.fc43.1.s39 100% | 1.3 MiB/s | 370.2 KiB | 00m00s [ 85/169] debugedit-0:5.2-2.fc43.s390x 100% | 292.9 KiB/s | 83.8 KiB | 00m00s [ 86/169] libarchive-0:3.8.1-3.fc43.s39 100% | 1.5 MiB/s | 452.6 KiB | 00m00s [ 87/169] pkgconf-pkg-config-0:2.3.0-3. 100% | 33.4 KiB/s | 9.5 KiB | 00m00s [ 88/169] pkgconf-0:2.3.0-3.fc43.s390x 100% | 158.8 KiB/s | 45.3 KiB | 00m00s [ 89/169] binutils-0:2.45-1.fc43.s390x 100% | 7.0 MiB/s | 6.1 MiB | 00m01s [ 90/169] pkgconf-m4-0:2.3.0-3.fc43.noa 100% | 49.0 KiB/s | 13.9 KiB | 00m00s [ 91/169] libpkgconf-0:2.3.0-3.fc43.s39 100% | 133.2 KiB/s | 38.2 KiB | 00m00s [ 92/169] zstd-0:1.5.7-2.fc43.s390x 100% | 1.8 MiB/s | 521.1 KiB | 00m00s [ 93/169] curl-0:8.15.0-2.fc43.s390x 100% | 825.8 KiB/s | 237.0 KiB | 00m00s [ 94/169] ansible-srpm-macros-0:1-18.1. 100% | 70.1 KiB/s | 19.9 KiB | 00m00s [ 95/169] build-reproducibility-srpm-ma 100% | 41.9 KiB/s | 11.8 KiB | 00m00s [ 96/169] add-determinism-0:0.6.0-2.fc4 100% | 3.3 MiB/s | 972.0 KiB | 00m00s [ 97/169] dwz-0:0.16-2.fc43.s390x 100% | 504.3 KiB/s | 144.2 KiB | 00m00s [ 98/169] efi-srpm-macros-0:6-4.fc43.no 100% | 78.8 KiB/s | 22.4 KiB | 00m00s [ 99/169] filesystem-srpm-macros-0:3.18 100% | 92.7 KiB/s | 26.4 KiB | 00m00s [100/169] fonts-srpm-macros-1:2.0.5-23. 100% | 95.7 KiB/s | 27.2 KiB | 00m00s [101/169] forge-srpm-macros-0:0.4.0-3.f 100% | 71.0 KiB/s | 20.1 KiB | 00m00s [102/169] fpc-srpm-macros-0:1.3-15.fc43 100% | 27.8 KiB/s | 7.9 KiB | 00m00s [103/169] ghc-srpm-macros-0:1.9.2-3.fc4 100% | 30.8 KiB/s | 8.7 KiB | 00m00s [104/169] gnat-srpm-macros-0:6-8.fc43.n 100% | 30.1 KiB/s | 8.5 KiB | 00m00s [105/169] go-srpm-macros-0:3.7.0-4.fc43 100% | 99.1 KiB/s | 28.1 KiB | 00m00s [106/169] kernel-srpm-macros-0:1.0-27.f 100% | 31.4 KiB/s | 8.9 KiB | 00m00s [107/169] lua-srpm-macros-0:1-16.fc43.n 100% | 31.1 KiB/s | 8.8 KiB | 00m00s [108/169] ocaml-srpm-macros-0:11-2.fc43 100% | 32.6 KiB/s | 9.3 KiB | 00m00s [109/169] openblas-srpm-macros-0:2-20.f 100% | 26.7 KiB/s | 7.6 KiB | 00m00s [110/169] package-notes-srpm-macros-0:0 100% | 31.9 KiB/s | 9.0 KiB | 00m00s [111/169] perl-srpm-macros-0:1-60.fc43. 100% | 29.2 KiB/s | 8.3 KiB | 00m00s [112/169] pyproject-srpm-macros-0:1.18. 100% | 47.1 KiB/s | 13.4 KiB | 00m00s [113/169] python-srpm-macros-0:3.14-4.f 100% | 82.5 KiB/s | 23.3 KiB | 00m00s [114/169] qt5-srpm-macros-0:5.15.17-2.f 100% | 30.5 KiB/s | 8.7 KiB | 00m00s [115/169] qt6-srpm-macros-0:6.9.1-2.fc4 100% | 32.7 KiB/s | 9.3 KiB | 00m00s [116/169] rust-srpm-macros-0:26.3-5.fc4 100% | 39.7 KiB/s | 11.2 KiB | 00m00s [117/169] tree-sitter-srpm-macros-0:0.4 100% | 47.0 KiB/s | 13.4 KiB | 00m00s [118/169] zig-srpm-macros-0:1-5.fc43.no 100% | 29.7 KiB/s | 8.4 KiB | 00m00s [119/169] zip-0:3.0-44.fc43.s390x 100% | 981.0 KiB/s | 279.6 KiB | 00m00s [120/169] ed-0:1.22-2.fc43.s390x 100% | 295.4 KiB/s | 84.8 KiB | 00m00s [121/169] libattr-0:2.5.2-6.fc43.s390x 100% | 63.5 KiB/s | 18.1 KiB | 00m00s [122/169] ca-certificates-0:2024.2.69_v 100% | 3.2 MiB/s | 944.0 KiB | 00m00s [123/169] crypto-policies-0:20250714-3. 100% | 262.4 KiB/s | 74.8 KiB | 00m00s [124/169] pcre2-0:10.45-1.fc43.1.s390x 100% | 970.6 KiB/s | 278.6 KiB | 00m00s [125/169] pcre2-syntax-0:10.45-1.fc43.1 100% | 571.5 KiB/s | 161.7 KiB | 00m00s [126/169] libxml2-0:2.12.10-3.fc43.s390 100% | 2.4 MiB/s | 703.7 KiB | 00m00s [127/169] lz4-libs-0:1.10.0-3.fc43.s390 100% | 335.3 KiB/s | 95.9 KiB | 00m00s [128/169] tpm2-tss-0:4.1.3-8.fc43.s390x 100% | 1.4 MiB/s | 421.8 KiB | 00m00s [129/169] libassuan-0:2.5.7-4.fc43.s390 100% | 233.8 KiB/s | 67.1 KiB | 00m00s [130/169] libgcrypt-0:1.11.1-2.fc43.s39 100% | 1.9 MiB/s | 565.2 KiB | 00m00s [131/169] libgpg-error-0:1.55-2.fc43.s3 100% | 851.1 KiB/s | 242.6 KiB | 00m00s [132/169] npth-0:1.8-3.fc43.s390x 100% | 86.7 KiB/s | 24.8 KiB | 00m00s [133/169] libksba-0:1.6.7-4.fc43.s390x 100% | 566.5 KiB/s | 162.6 KiB | 00m00s [134/169] gnutls-0:3.8.10-3.fc43.s390x 100% | 4.5 MiB/s | 1.3 MiB | 00m00s [135/169] openldap-0:2.6.10-3.fc43.s390 100% | 912.6 KiB/s | 261.9 KiB | 00m00s [136/169] gmp-1:6.3.0-4.fc43.s390x 100% | 1.1 MiB/s | 329.3 KiB | 00m00s [137/169] mpfr-0:4.2.2-2.fc43.s390x 100% | 1.0 MiB/s | 300.1 KiB | 00m00s [138/169] elfutils-default-yama-scope-0 100% | 43.7 KiB/s | 12.4 KiB | 00m00s [139/169] json-c-0:0.18-7.fc43.s390x 100% | 155.8 KiB/s | 44.6 KiB | 00m00s [140/169] libffi-0:3.5.1-2.fc43.s390x 100% | 136.2 KiB/s | 38.7 KiB | 00m00s [141/169] p11-kit-0:0.25.5-9.fc43.s390x 100% | 1.7 MiB/s | 516.0 KiB | 00m00s [142/169] p11-kit-trust-0:0.25.5-9.fc43 100% | 497.5 KiB/s | 141.8 KiB | 00m00s [143/169] alternatives-0:1.33-2.fc43.s3 100% | 145.3 KiB/s | 41.4 KiB | 00m00s [144/169] jansson-0:2.14-3.fc43.s390x 100% | 157.5 KiB/s | 45.0 KiB | 00m00s [145/169] libusb1-0:1.0.29-2.fc43.s390x 100% | 269.0 KiB/s | 77.2 KiB | 00m00s [146/169] libtasn1-0:4.20.0-2.fc43.s390 100% | 274.6 KiB/s | 78.0 KiB | 00m00s [147/169] cyrus-sasl-lib-0:2.1.28-33.fc 100% | 2.8 MiB/s | 817.3 KiB | 00m00s [148/169] libevent-0:2.1.12-16.fc43.s39 100% | 905.7 KiB/s | 259.9 KiB | 00m00s [149/169] libtool-ltdl-0:2.5.4-7.fc43.s 100% | 128.6 KiB/s | 36.5 KiB | 00m00s [150/169] libidn2-0:2.3.8-2.fc43.s390x 100% | 596.7 KiB/s | 171.3 KiB | 00m00s [151/169] nettle-0:3.10.1-2.fc43.s390x 100% | 1.5 MiB/s | 451.3 KiB | 00m00s [152/169] libunistring-0:1.1-10.fc43.s3 100% | 1.9 MiB/s | 554.6 KiB | 00m00s [153/169] gdbm-libs-1:1.23-10.fc43.s390 100% | 202.0 KiB/s | 57.8 KiB | 00m00s [154/169] gdb-minimal-0:16.3-4.fc43.s39 100% | 144.3 MiB/s | 4.6 MiB | 00m00s [155/169] systemd-standalone-sysusers-0 100% | 479.6 KiB/s | 136.2 KiB | 00m00s [156/169] fedora-release-0:43-0.19.noar 100% | 50.3 KiB/s | 14.3 KiB | 00m00s [157/169] fedora-release-identity-basic 100% | 53.2 KiB/s | 15.1 KiB | 00m00s [158/169] libnghttp2-0:1.66.0-2.fc43.s3 100% | 263.5 KiB/s | 74.8 KiB | 00m00s [159/169] libcurl-0:8.15.0-2.fc43.s390x 100% | 1.4 MiB/s | 414.3 KiB | 00m00s [160/169] xxhash-libs-0:0.8.3-3.fc43.s3 100% | 128.3 KiB/s | 36.7 KiB | 00m00s [161/169] libbrotli-0:1.1.0-8.fc43.s390 100% | 1.3 MiB/s | 381.1 KiB | 00m00s [162/169] krb5-libs-0:1.21.3-7.fc43.s39 100% | 2.6 MiB/s | 775.2 KiB | 00m00s [163/169] libpsl-0:0.21.5-6.fc43.s390x 100% | 227.4 KiB/s | 65.3 KiB | 00m00s [164/169] libssh-config-0:0.11.2-2.fc43 100% | 31.4 KiB/s | 8.9 KiB | 00m00s [165/169] libssh-0:0.11.2-2.fc43.s390x 100% | 801.5 KiB/s | 230.0 KiB | 00m00s [166/169] keyutils-libs-0:1.6.3-6.fc43. 100% | 109.1 KiB/s | 31.2 KiB | 00m00s [167/169] libcom_err-0:1.47.3-2.fc43.s3 100% | 93.5 KiB/s | 26.7 KiB | 00m00s [168/169] libverto-0:0.3.2-11.fc43.s390 100% | 72.2 KiB/s | 20.5 KiB | 00m00s [169/169] publicsuffix-list-dafsa-0:202 100% | 208.3 KiB/s | 59.2 KiB | 00m00s -------------------------------------------------------------------------------- [169/169] Total 100% | 3.3 MiB/s | 59.0 MiB | 00m18s Running transaction [ 1/171] Verify package files 100% | 812.0 B/s | 169.0 B | 00m00s >>> Running %pretrans scriptlet: filesystem-0:3.18-50.fc43.s390x >>> Finished %pretrans scriptlet: filesystem-0:3.18-50.fc43.s390x >>> [RPM] /var/lib/mock/fedora-42-s390x-1754573609.551421/root/var/cache/dnf/cop [ 2/171] Prepare transaction 100% | 3.3 KiB/s | 169.0 B | 00m00s [ 3/171] Installing libgcc-0:15.1.1-5. 100% | 166.9 MiB/s | 170.9 KiB | 00m00s [ 4/171] Installing publicsuffix-list- 100% | 0.0 B/s | 69.8 KiB | 00m00s [ 5/171] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 6/171] Installing fedora-release-ide 100% | 0.0 B/s | 920.0 B | 00m00s [ 7/171] Installing fedora-repos-rawhi 100% | 0.0 B/s | 2.4 KiB | 00m00s [ 8/171] Installing fedora-gpg-keys-0: 100% | 42.9 MiB/s | 175.9 KiB | 00m00s [ 9/171] Installing fedora-repos-0:43- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/171] Installing fedora-release-com 100% | 24.2 MiB/s | 24.8 KiB | 00m00s [ 11/171] Installing fedora-release-0:4 100% | 13.5 KiB/s | 124.0 B | 00m00s >>> Running sysusers scriptlet: setup-0:2.15.0-26.fc43.noarch >>> Finished sysusers scriptlet: setup-0:2.15.0-26.fc43.noarch >>> Scriptlet output: >>> Creating group 'adm' with GID 4. >>> Creating group 'audio' with GID 63. >>> Creating group 'cdrom' with GID 11. >>> Creating group 'clock' with GID 103. >>> Creating group 'dialout' with GID 18. >>> Creating group 'disk' with GID 6. >>> Creating group 'floppy' with GID 19. >>> Creating group 'ftp' with GID 50. >>> Creating group 'games' with GID 20. >>> Creating group 'input' with GID 104. >>> Creating group 'kmem' with GID 9. >>> Creating group 'kvm' with GID 36. >>> Creating group 'lock' with GID 54. >>> Creating group 'lp' with GID 7. >>> Creating group 'mail' with GID 12. >>> Creating group 'man' with GID 15. >>> Creating group 'mem' with GID 8. >>> Creating group 'nobody' with GID 65534. >>> Creating group 'render' with GID 105. >>> Creating group 'root' with GID 0. >>> Creating group 'sgx' with GID 106. >>> Creating group 'sys' with GID 3. >>> Creating group 'tape' with GID 33. >>> Creating group 'tty' with GID 5. >>> Creating group 'users' with GID 100. >>> Creating group 'utmp' with GID 22. >>> Creating group 'video' with GID 39. >>> Creating group 'wheel' with GID 10. >>> Creating user 'adm' (adm) with UID 3 and GID 4. >>> Creating group 'bin' with GID 1. >>> Creating user 'bin' (bin) with UID 1 and GID 1. >>> Creating group 'daemon' with GID 2. >>> Creating user 'daemon' (daemon) with UID 2 and GID 2. >>> Creating user 'ftp' (FTP User) with UID 14 and GID 50. >>> Creating user 'games' (games) with UID 12 and GID 100. >>> Creating user 'halt' (halt) with UID 7 and GID 0. >>> Creating user 'lp' (lp) with UID 4 and GID 7. >>> Creating user 'mail' (mail) with UID 8 and GID 12. >>> Creating user 'nobody' (Kernel Overflow User) with UID 65534 and GID 65534. >>> Creating user 'operator' (operator) with UID 11 and GID 0. >>> Creating user 'root' (Super User) with UID 0 and GID 0. >>> Creating user 'shutdown' (shutdown) with UID 6 and GID 0. >>> Creating user 'sync' (sync) with UID 5 and GID 0. >>> [ 12/171] Installing setup-0:2.15.0-26. 100% | 44.6 MiB/s | 730.6 KiB | 00m00s >>> [RPM] /etc/hosts created as /etc/hosts.rpmnew [ 13/171] Installing filesystem-0:3.18- 100% | 2.4 MiB/s | 212.8 KiB | 00m00s [ 14/171] Installing pcre2-syntax-0:10. 100% | 269.9 MiB/s | 276.4 KiB | 00m00s [ 15/171] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [ 16/171] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 740.0 B | 00m00s [ 17/171] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [ 18/171] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [ 19/171] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [ 20/171] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [ 21/171] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.1 KiB | 00m00s [ 22/171] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [ 23/171] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [ 24/171] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 25/171] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [ 26/171] Installing ansible-srpm-macro 100% | 0.0 B/s | 36.2 KiB | 00m00s [ 27/171] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 28/171] Installing ncurses-base-0:6.5 100% | 86.3 MiB/s | 353.5 KiB | 00m00s [ 29/171] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 30/171] Installing ncurses-libs-0:6.5 100% | 201.3 MiB/s | 1.0 MiB | 00m00s [ 31/171] Installing glibc-0:2.42-2.fc4 100% | 144.5 MiB/s | 5.2 MiB | 00m00s [ 32/171] Installing bash-0:5.3.0-2.fc4 100% | 221.0 MiB/s | 8.6 MiB | 00m00s [ 33/171] Installing glibc-common-0:2.4 100% | 63.5 MiB/s | 1.1 MiB | 00m00s [ 34/171] Installing glibc-gconv-extra- 100% | 207.2 MiB/s | 6.8 MiB | 00m00s [ 35/171] Installing zlib-ng-compat-0:2 100% | 107.4 MiB/s | 109.9 KiB | 00m00s [ 36/171] Installing bzip2-libs-0:1.0.8 100% | 83.5 MiB/s | 85.5 KiB | 00m00s [ 37/171] Installing libgpg-error-0:1.5 100% | 57.2 MiB/s | 936.7 KiB | 00m00s [ 38/171] Installing libstdc++-0:15.1.1 100% | 287.3 MiB/s | 3.2 MiB | 00m00s [ 39/171] Installing xz-libs-1:5.8.1-2. 100% | 217.2 MiB/s | 222.4 KiB | 00m00s [ 40/171] Installing libassuan-0:2.5.7- 100% | 161.5 MiB/s | 165.4 KiB | 00m00s [ 41/171] Installing libgcrypt-0:1.11.1 100% | 249.0 MiB/s | 1.2 MiB | 00m00s [ 42/171] Installing libuuid-0:2.41.1-1 100% | 0.0 B/s | 34.3 KiB | 00m00s [ 43/171] Installing readline-0:8.3-2.f 100% | 282.0 MiB/s | 577.5 KiB | 00m00s [ 44/171] Installing gmp-1:6.3.0-4.fc43 100% | 252.6 MiB/s | 776.1 KiB | 00m00s [ 45/171] Installing popt-0:1.19-9.fc43 100% | 71.8 MiB/s | 147.1 KiB | 00m00s [ 46/171] Installing npth-0:1.8-3.fc43. 100% | 0.0 B/s | 46.3 KiB | 00m00s [ 47/171] Installing libblkid-0:2.41.1- 100% | 276.6 MiB/s | 283.3 KiB | 00m00s [ 48/171] Installing libxcrypt-0:4.4.38 100% | 142.0 MiB/s | 290.9 KiB | 00m00s [ 49/171] Installing libzstd-0:1.5.7-2. 100% | 285.4 MiB/s | 876.7 KiB | 00m00s [ 50/171] Installing elfutils-libelf-0: 100% | 294.5 MiB/s | 1.2 MiB | 00m00s [ 51/171] Installing sqlite-libs-0:3.50 100% | 239.0 MiB/s | 1.7 MiB | 00m00s [ 52/171] Installing gnupg2-gpgconf-0:2 100% | 14.7 MiB/s | 271.5 KiB | 00m00s [ 53/171] Installing crypto-policies-0: 100% | 33.6 MiB/s | 172.0 KiB | 00m00s [ 54/171] Installing libattr-0:2.5.2-6. 100% | 0.0 B/s | 25.1 KiB | 00m00s [ 55/171] Installing libacl-0:2.3.2-4.f 100% | 0.0 B/s | 36.5 KiB | 00m00s [ 56/171] Installing libtasn1-0:4.20.0- 100% | 185.5 MiB/s | 189.9 KiB | 00m00s [ 57/171] Installing libunistring-0:1.1 100% | 252.2 MiB/s | 1.8 MiB | 00m00s [ 58/171] Installing libidn2-0:2.3.8-2. 100% | 185.7 MiB/s | 570.4 KiB | 00m00s [ 59/171] Installing dwz-0:0.16-2.fc43. 100% | 21.7 MiB/s | 311.8 KiB | 00m00s [ 60/171] Installing gnupg2-verify-0:2. 100% | 27.5 MiB/s | 365.6 KiB | 00m00s [ 61/171] Installing mpfr-0:4.2.2-2.fc4 100% | 228.2 MiB/s | 701.2 KiB | 00m00s [ 62/171] Installing gawk-0:5.3.2-2.fc4 100% | 98.6 MiB/s | 1.9 MiB | 00m00s [ 63/171] Installing libksba-0:1.6.7-4. 100% | 201.6 MiB/s | 412.9 KiB | 00m00s [ 64/171] Installing unzip-0:6.0-67.fc4 100% | 29.8 MiB/s | 397.0 KiB | 00m00s [ 65/171] Installing file-libs-0:5.46-6 100% | 494.2 MiB/s | 11.9 MiB | 00m00s [ 66/171] Installing file-0:5.46-6.fc43 100% | 8.3 MiB/s | 101.5 KiB | 00m00s [ 67/171] Installing libsmartcols-0:2.4 100% | 188.7 MiB/s | 193.2 KiB | 00m00s [ 68/171] Installing libsepol-0:3.9-2.f 100% | 208.6 MiB/s | 854.5 KiB | 00m00s [ 69/171] Installing libcap-ng-0:0.8.5- 100% | 60.8 MiB/s | 62.3 KiB | 00m00s [ 70/171] Installing audit-libs-0:4.1.1 100% | 195.7 MiB/s | 400.8 KiB | 00m00s [ 71/171] Installing libeconf-0:0.7.9-2 100% | 64.8 MiB/s | 66.3 KiB | 00m00s [ 72/171] Installing pam-libs-0:1.7.1-3 100% | 121.6 MiB/s | 124.5 KiB | 00m00s [ 73/171] Installing libcap-0:2.76-2.fc 100% | 16.2 MiB/s | 216.2 KiB | 00m00s [ 74/171] Installing systemd-libs-0:257 100% | 252.0 MiB/s | 2.3 MiB | 00m00s [ 75/171] Installing lua-libs-0:5.4.8-2 100% | 310.5 MiB/s | 317.9 KiB | 00m00s [ 76/171] Installing pcre2-0:10.45-1.fc 100% | 233.9 MiB/s | 718.4 KiB | 00m00s [ 77/171] Installing libselinux-0:3.9-2 100% | 205.2 MiB/s | 210.1 KiB | 00m00s [ 78/171] Installing grep-0:3.12-2.fc43 100% | 63.4 MiB/s | 1.0 MiB | 00m00s [ 79/171] Installing findutils-1:4.10.0 100% | 99.0 MiB/s | 1.9 MiB | 00m00s [ 80/171] Installing sed-0:4.9-5.fc43.s 100% | 53.3 MiB/s | 873.2 KiB | 00m00s [ 81/171] Installing xz-1:5.8.1-2.fc43. 100% | 74.2 MiB/s | 1.3 MiB | 00m00s [ 82/171] Installing libmount-0:2.41.1- 100% | 190.1 MiB/s | 389.2 KiB | 00m00s [ 83/171] Installing lz4-libs-0:1.10.0- 100% | 197.6 MiB/s | 202.3 KiB | 00m00s [ 84/171] Installing json-c-0:0.18-7.fc 100% | 81.7 MiB/s | 83.6 KiB | 00m00s [ 85/171] Installing libffi-0:3.5.1-2.f 100% | 78.7 MiB/s | 80.6 KiB | 00m00s [ 86/171] Installing p11-kit-0:0.25.5-9 100% | 113.3 MiB/s | 2.5 MiB | 00m00s [ 87/171] Installing alternatives-0:1.3 100% | 5.2 MiB/s | 63.5 KiB | 00m00s [ 88/171] Installing p11-kit-trust-0:0. 100% | 21.6 MiB/s | 464.5 KiB | 00m00s [ 89/171] Installing zstd-0:1.5.7-2.fc4 100% | 102.3 MiB/s | 1.8 MiB | 00m00s [ 90/171] Installing util-linux-core-0: 100% | 71.4 MiB/s | 1.4 MiB | 00m00s [ 91/171] Installing tar-2:1.35-6.fc43. 100% | 131.3 MiB/s | 3.0 MiB | 00m00s [ 92/171] Installing libsemanage-0:3.9- 100% | 153.2 MiB/s | 313.8 KiB | 00m00s [ 93/171] Installing systemd-standalone 100% | 22.9 MiB/s | 281.9 KiB | 00m00s [ 94/171] Installing libusb1-0:1.0.29-2 100% | 168.2 MiB/s | 172.3 KiB | 00m00s [ 95/171] Installing zip-0:3.0-44.fc43. 100% | 47.8 MiB/s | 733.5 KiB | 00m00s [ 96/171] Installing gnupg2-keyboxd-0:2 100% | 34.2 MiB/s | 210.4 KiB | 00m00s [ 97/171] Installing libpsl-0:0.21.5-6. 100% | 75.5 MiB/s | 77.3 KiB | 00m00s [ 98/171] Installing liblastlog2-0:2.41 100% | 6.9 MiB/s | 35.6 KiB | 00m00s [ 99/171] Installing libfdisk-0:2.41.1- 100% | 193.3 MiB/s | 395.9 KiB | 00m00s [100/171] Installing nettle-0:3.10.1-2. 100% | 203.3 MiB/s | 832.8 KiB | 00m00s [101/171] Installing gnutls-0:3.8.10-3. 100% | 252.3 MiB/s | 3.5 MiB | 00m00s [102/171] Installing libxml2-0:2.12.10- 100% | 93.0 MiB/s | 1.9 MiB | 00m00s [103/171] Installing bzip2-0:1.0.8-21.f 100% | 7.4 MiB/s | 91.4 KiB | 00m00s [104/171] Installing add-determinism-0: 100% | 130.3 MiB/s | 2.7 MiB | 00m00s [105/171] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [106/171] Installing filesystem-srpm-ma 100% | 0.0 B/s | 38.9 KiB | 00m00s [107/171] Installing ed-0:1.22-2.fc43.s 100% | 11.2 MiB/s | 149.1 KiB | 00m00s [108/171] Installing patch-0:2.8-2.fc43 100% | 19.5 MiB/s | 239.8 KiB | 00m00s [109/171] Installing elfutils-default-y 100% | 408.6 KiB/s | 2.0 KiB | 00m00s [110/171] Installing elfutils-libs-0:0. 100% | 189.5 MiB/s | 776.1 KiB | 00m00s [111/171] Installing cpio-0:2.15-6.fc43 100% | 61.9 MiB/s | 1.1 MiB | 00m00s [112/171] Installing diffutils-0:3.12-3 100% | 83.6 MiB/s | 1.6 MiB | 00m00s [113/171] Installing libgomp-0:15.1.1-5 100% | 267.6 MiB/s | 548.1 KiB | 00m00s [114/171] Installing libpkgconf-0:2.3.0 100% | 80.9 MiB/s | 82.9 KiB | 00m00s [115/171] Installing pkgconf-0:2.3.0-3. 100% | 7.4 MiB/s | 90.7 KiB | 00m00s [116/171] Installing pkgconf-pkg-config 100% | 161.2 KiB/s | 1.8 KiB | 00m00s [117/171] Installing jansson-0:2.14-3.f 100% | 88.1 MiB/s | 90.2 KiB | 00m00s [118/171] Installing libtool-ltdl-0:2.5 100% | 0.0 B/s | 70.9 KiB | 00m00s [119/171] Installing gdbm-libs-1:1.23-1 100% | 124.1 MiB/s | 127.1 KiB | 00m00s [120/171] Installing cyrus-sasl-lib-0:2 100% | 112.2 MiB/s | 2.4 MiB | 00m00s [121/171] Installing libnghttp2-0:1.66. 100% | 162.9 MiB/s | 166.8 KiB | 00m00s [122/171] Installing xxhash-libs-0:0.8. 100% | 65.5 MiB/s | 67.1 KiB | 00m00s [123/171] Installing libbrotli-0:1.1.0- 100% | 224.4 MiB/s | 918.9 KiB | 00m00s [124/171] Installing keyutils-libs-0:1. 100% | 0.0 B/s | 51.5 KiB | 00m00s [125/171] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 60.0 KiB | 00m00s [126/171] Installing libverto-0:0.3.2-1 100% | 26.3 MiB/s | 26.9 KiB | 00m00s [127/171] Installing coreutils-common-0 100% | 297.1 MiB/s | 11.3 MiB | 00m00s [128/171] Installing openssl-libs-1:3.5 100% | 281.0 MiB/s | 7.3 MiB | 00m00s [129/171] Installing coreutils-0:9.7-5. 100% | 151.2 MiB/s | 5.7 MiB | 00m00s [130/171] Installing ca-certificates-0: 100% | 1.7 MiB/s | 2.4 MiB | 00m01s [131/171] Installing libarchive-0:3.8.1 100% | 203.3 MiB/s | 1.0 MiB | 00m00s [132/171] Installing krb5-libs-0:1.21.3 100% | 134.1 MiB/s | 2.4 MiB | 00m00s >>> Running sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.s390x >>> Finished sysusers scriptlet: tpm2-tss-0:4.1.3-8.fc43.s390x >>> Scriptlet output: >>> Creating group 'tss' with GID 59. >>> Creating user 'tss' (Account used for TPM access) with UID 59 and GID 59. >>> [133/171] Installing tpm2-tss-0:4.1.3-8 100% | 198.5 MiB/s | 1.6 MiB | 00m00s [134/171] Installing gnupg2-gpg-agent-0 100% | 32.1 MiB/s | 722.3 KiB | 00m00s [135/171] Installing ima-evm-utils-libs 100% | 56.4 MiB/s | 57.8 KiB | 00m00s [136/171] Installing libssh-0:0.11.2-2. 100% | 190.3 MiB/s | 584.5 KiB | 00m00s [137/171] Installing gzip-0:1.13-4.fc43 100% | 28.0 MiB/s | 402.1 KiB | 00m00s [138/171] Installing rpm-sequoia-0:1.9. 100% | 292.1 MiB/s | 2.6 MiB | 00m00s [139/171] Installing rpm-libs-0:5.99.91 100% | 245.3 MiB/s | 1.0 MiB | 00m00s [140/171] Installing libfsverity-0:1.6- 100% | 0.0 B/s | 25.2 KiB | 00m00s [141/171] Installing libevent-0:2.1.12- 100% | 298.8 MiB/s | 917.9 KiB | 00m00s [142/171] Installing openldap-0:2.6.10- 100% | 219.1 MiB/s | 673.1 KiB | 00m00s [143/171] Installing libcurl-0:8.15.0-2 100% | 231.5 MiB/s | 948.1 KiB | 00m00s [144/171] Installing elfutils-debuginfo 100% | 6.3 MiB/s | 77.8 KiB | 00m00s [145/171] Installing elfutils-0:0.193-3 100% | 141.8 MiB/s | 3.0 MiB | 00m00s [146/171] Installing binutils-0:2.45-1. 100% | 292.4 MiB/s | 28.1 MiB | 00m00s [147/171] Installing gdb-minimal-0:16.3 100% | 254.0 MiB/s | 15.2 MiB | 00m00s [148/171] Installing debugedit-0:5.2-2. 100% | 15.3 MiB/s | 204.0 KiB | 00m00s [149/171] Installing curl-0:8.15.0-2.fc 100% | 23.4 MiB/s | 504.2 KiB | 00m00s [150/171] Installing rpm-0:5.99.91-3.fc 100% | 70.9 MiB/s | 2.5 MiB | 00m00s [151/171] Installing java-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [152/171] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.1 KiB | 00m00s [153/171] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [154/171] Installing tree-sitter-srpm-m 100% | 0.0 B/s | 9.3 KiB | 00m00s [155/171] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [156/171] Installing gnupg2-dirmngr-0:2 100% | 29.5 MiB/s | 664.4 KiB | 00m00s [157/171] Installing gnupg2-0:2.4.8-4.f 100% | 179.7 MiB/s | 6.6 MiB | 00m00s [158/171] Installing rpm-sign-libs-0:5. 100% | 35.5 MiB/s | 36.3 KiB | 00m00s [159/171] Installing rpm-build-libs-0:5 100% | 270.2 MiB/s | 276.7 KiB | 00m00s [160/171] Installing gpgverify-0:2.2-3. 100% | 0.0 B/s | 9.4 KiB | 00m00s [161/171] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [162/171] Installing forge-srpm-macros- 100% | 39.3 MiB/s | 40.3 KiB | 00m00s [163/171] Installing go-srpm-macros-0:3 100% | 61.3 MiB/s | 62.7 KiB | 00m00s [164/171] Installing python-srpm-macros 100% | 51.6 MiB/s | 52.8 KiB | 00m00s [165/171] Installing redhat-rpm-config- 100% | 92.4 MiB/s | 189.3 KiB | 00m00s [166/171] Installing rpm-build-0:5.99.9 100% | 18.8 MiB/s | 288.3 KiB | 00m00s [167/171] Installing pyproject-srpm-mac 100% | 2.4 MiB/s | 2.5 KiB | 00m00s [168/171] Installing util-linux-0:2.41. 100% | 90.0 MiB/s | 3.4 MiB | 00m00s [169/171] Installing which-0:2.23-3.fc4 100% | 6.4 MiB/s | 85.4 KiB | 00m00s [170/171] Installing shadow-utils-2:4.1 100% | 118.8 MiB/s | 4.0 MiB | 00m00s [171/171] Installing info-0:7.2-6.fc43. 100% | 237.4 KiB/s | 397.4 KiB | 00m02s Warning: skipped OpenPGP checks for 169 packages from repositories: copr_base, http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: installing minimal buildroot with dnf5 Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: add-determinism-0.6.0-2.fc43.s390x alternatives-1.33-2.fc43.s390x ansible-srpm-macros-1-18.1.fc43.noarch audit-libs-4.1.1-1.fc43.s390x bash-5.3.0-2.fc43.s390x binutils-2.45-1.fc43.s390x build-reproducibility-srpm-macros-0.6.0-2.fc43.noarch bzip2-1.0.8-21.fc43.s390x bzip2-libs-1.0.8-21.fc43.s390x ca-certificates-2024.2.69_v8.0.401-7.fc43.noarch coreutils-9.7-5.fc43.s390x coreutils-common-9.7-5.fc43.s390x cpio-2.15-6.fc43.s390x crypto-policies-20250714-3.gitcd6043a.fc43.noarch curl-8.15.0-2.fc43.s390x cyrus-sasl-lib-2.1.28-33.fc43.s390x debugedit-5.2-2.fc43.s390x diffutils-3.12-3.fc43.s390x dwz-0.16-2.fc43.s390x ed-1.22-2.fc43.s390x efi-srpm-macros-6-4.fc43.noarch elfutils-0.193-3.fc43.s390x elfutils-debuginfod-client-0.193-3.fc43.s390x elfutils-default-yama-scope-0.193-3.fc43.noarch elfutils-libelf-0.193-3.fc43.s390x elfutils-libs-0.193-3.fc43.s390x fedora-gpg-keys-43-0.2.noarch fedora-release-43-0.19.noarch fedora-release-common-43-0.19.noarch fedora-release-identity-basic-43-0.19.noarch fedora-repos-43-0.2.noarch fedora-repos-rawhide-43-0.2.noarch file-5.46-6.fc43.s390x file-libs-5.46-6.fc43.s390x filesystem-3.18-50.fc43.s390x filesystem-srpm-macros-3.18-50.fc43.noarch findutils-4.10.0-6.fc43.s390x fonts-srpm-macros-2.0.5-23.fc43.noarch forge-srpm-macros-0.4.0-3.fc43.noarch fpc-srpm-macros-1.3-15.fc43.noarch gawk-5.3.2-2.fc43.s390x gdb-minimal-16.3-4.fc43.s390x gdbm-libs-1.23-10.fc43.s390x ghc-srpm-macros-1.9.2-3.fc43.noarch glibc-2.42-2.fc43.s390x glibc-common-2.42-2.fc43.s390x glibc-gconv-extra-2.42-2.fc43.s390x glibc-minimal-langpack-2.42-2.fc43.s390x gmp-6.3.0-4.fc43.s390x gnat-srpm-macros-6-8.fc43.noarch gnupg2-2.4.8-4.fc43.s390x gnupg2-dirmngr-2.4.8-4.fc43.s390x gnupg2-gpg-agent-2.4.8-4.fc43.s390x gnupg2-gpgconf-2.4.8-4.fc43.s390x gnupg2-keyboxd-2.4.8-4.fc43.s390x gnupg2-verify-2.4.8-4.fc43.s390x gnutls-3.8.10-3.fc43.s390x go-srpm-macros-3.7.0-4.fc43.noarch gpgverify-2.2-3.fc43.noarch grep-3.12-2.fc43.s390x gzip-1.13-4.fc43.s390x ima-evm-utils-libs-1.6.2-6.fc43.s390x info-7.2-6.fc43.s390x jansson-2.14-3.fc43.s390x java-srpm-macros-1-7.fc43.noarch json-c-0.18-7.fc43.s390x kernel-srpm-macros-1.0-27.fc43.noarch keyutils-libs-1.6.3-6.fc43.s390x krb5-libs-1.21.3-7.fc43.s390x libacl-2.3.2-4.fc43.s390x libarchive-3.8.1-3.fc43.s390x libassuan-2.5.7-4.fc43.s390x libattr-2.5.2-6.fc43.s390x libblkid-2.41.1-15.fc43.s390x libbrotli-1.1.0-8.fc43.s390x libcap-2.76-2.fc43.s390x libcap-ng-0.8.5-6.fc43.s390x libcom_err-1.47.3-2.fc43.s390x libcurl-8.15.0-2.fc43.s390x libeconf-0.7.9-2.fc43.s390x libevent-2.1.12-16.fc43.s390x libfdisk-2.41.1-15.fc43.s390x libffi-3.5.1-2.fc43.s390x libfsverity-1.6-3.fc43.s390x libgcc-15.1.1-5.fc43.1.s390x libgcrypt-1.11.1-2.fc43.s390x libgomp-15.1.1-5.fc43.1.s390x libgpg-error-1.55-2.fc43.s390x libidn2-2.3.8-2.fc43.s390x libksba-1.6.7-4.fc43.s390x liblastlog2-2.41.1-15.fc43.s390x libmount-2.41.1-15.fc43.s390x libnghttp2-1.66.0-2.fc43.s390x libpkgconf-2.3.0-3.fc43.s390x libpsl-0.21.5-6.fc43.s390x libselinux-3.9-2.fc43.s390x libsemanage-3.9-2.fc43.s390x libsepol-3.9-2.fc43.s390x libsmartcols-2.41.1-15.fc43.s390x libssh-0.11.2-2.fc43.s390x libssh-config-0.11.2-2.fc43.noarch libstdc++-15.1.1-5.fc43.1.s390x libtasn1-4.20.0-2.fc43.s390x libtool-ltdl-2.5.4-7.fc43.s390x libunistring-1.1-10.fc43.s390x libusb1-1.0.29-2.fc43.s390x libuuid-2.41.1-15.fc43.s390x libverto-0.3.2-11.fc43.s390x libxcrypt-4.4.38-8.fc43.s390x libxml2-2.12.10-3.fc43.s390x libzstd-1.5.7-2.fc43.s390x lua-libs-5.4.8-2.fc43.s390x lua-srpm-macros-1-16.fc43.noarch lz4-libs-1.10.0-3.fc43.s390x mpfr-4.2.2-2.fc43.s390x ncurses-base-6.5-7.20250614.fc43.noarch ncurses-libs-6.5-7.20250614.fc43.s390x nettle-3.10.1-2.fc43.s390x npth-1.8-3.fc43.s390x ocaml-srpm-macros-11-2.fc43.noarch openblas-srpm-macros-2-20.fc43.noarch openldap-2.6.10-3.fc43.s390x openssl-libs-3.5.1-2.fc43.s390x p11-kit-0.25.5-9.fc43.s390x p11-kit-trust-0.25.5-9.fc43.s390x package-notes-srpm-macros-0.5-14.fc43.noarch pam-libs-1.7.1-3.fc43.s390x patch-2.8-2.fc43.s390x pcre2-10.45-1.fc43.1.s390x pcre2-syntax-10.45-1.fc43.1.noarch perl-srpm-macros-1-60.fc43.noarch pkgconf-2.3.0-3.fc43.s390x pkgconf-m4-2.3.0-3.fc43.noarch pkgconf-pkg-config-2.3.0-3.fc43.s390x popt-1.19-9.fc43.s390x publicsuffix-list-dafsa-20250616-2.fc43.noarch pyproject-srpm-macros-1.18.3-2.fc43.noarch python-srpm-macros-3.14-4.fc43.noarch qt5-srpm-macros-5.15.17-2.fc43.noarch qt6-srpm-macros-6.9.1-2.fc43.noarch readline-8.3-2.fc43.s390x redhat-rpm-config-343-10.fc43.noarch rpm-5.99.91-3.fc43.s390x rpm-build-5.99.91-3.fc43.s390x rpm-build-libs-5.99.91-3.fc43.s390x rpm-libs-5.99.91-3.fc43.s390x rpm-sequoia-1.9.0-2.fc43.s390x rpm-sign-libs-5.99.91-3.fc43.s390x rust-srpm-macros-26.3-5.fc43.noarch sed-4.9-5.fc43.s390x setup-2.15.0-26.fc43.noarch shadow-utils-4.18.0-3.fc43.s390x sqlite-libs-3.50.2-2.fc43.s390x systemd-libs-257.7-1.fc43.s390x systemd-standalone-sysusers-257.7-1.fc43.s390x tar-1.35-6.fc43.s390x tpm2-tss-4.1.3-8.fc43.s390x tree-sitter-srpm-macros-0.4.2-1.fc43.noarch unzip-6.0-67.fc43.s390x util-linux-2.41.1-15.fc43.s390x util-linux-core-2.41.1-15.fc43.s390x which-2.23-3.fc43.s390x xxhash-libs-0.8.3-3.fc43.s390x xz-5.8.1-2.fc43.s390x xz-libs-5.8.1-2.fc43.s390x zig-srpm-macros-1-5.fc43.noarch zip-3.0-44.fc43.s390x zlib-ng-compat-2.2.4-3.fc43.s390x zstd-1.5.7-2.fc43.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1754438400 Wrote: /builddir/build/SRPMS/python-imagecodecs-2025.3.30-2.fc43.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-42-s390x-1754573609.551421/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-zizudo1r/python-imagecodecs/python-imagecodecs.spec) Config(child) 0 minutes 57 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-2025.3.30-2.fc43.src.rpm) Config(fedora-42-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-42-s390x-bootstrap-1754573609.551421/root. INFO: reusing tmpfs at /var/lib/mock/fedora-42-s390x-bootstrap-1754573609.551421/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-42-s390x-1754573609.551421/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.20.1-1.fc42.s390x rpm-sequoia-1.7.0-5.fc42.s390x dnf5-5.2.15.0-2.fc42.s390x dnf5-plugins-5.2.15.0-2.fc42.s390x Finish: chroot init Start: build phase for python-imagecodecs-2025.3.30-2.fc43.src.rpm Start: build setup for python-imagecodecs-2025.3.30-2.fc43.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1754438400 Wrote: /builddir/build/SRPMS/python-imagecodecs-2025.3.30-2.fc43.src.rpm Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 5.4 KiB/s | 3.8 KiB | 00m01s Copr repository 100% | 2.2 KiB/s | 1.5 KiB | 00m01s updates 100% | 3.4 KiB/s | 6.0 KiB | 00m02s fedora 100% | 4.4 KiB/s | 5.0 KiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing: CharLS-devel s390x 2.4.2-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 130.1 KiB blosc-devel s390x 1.21.6-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.9 KiB blosc2-devel s390x 2.19.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 152.9 KiB brotli-devel s390x 1.1.0-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 65.6 KiB bzip2-devel s390x 1.0.8-21.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 309.8 KiB cfitsio-devel s390x 4.6.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 517.6 KiB gcc-c++ s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 30.7 MiB giflib-devel s390x 5.2.2-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 676.0 KiB jxrlib-devel s390x 1.1-32.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 204.6 KiB lcms2-devel s390x 2.16-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 135.7 KiB libaec-devel s390x 1.1.4-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.3 KiB libavif-devel s390x 1.1.1-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 90.5 KiB libdeflate-devel s390x 1.24-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 26.0 KiB libheif-devel s390x 1.20.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 264.6 KiB libjpeg-turbo-devel s390x 3.1.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 353.9 KiB liblerc-devel s390x 4.0.0-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 4.3 MiB libpng-devel s390x 2:1.6.50-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 889.1 KiB libtiff-devel s390x 4.7.0-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 761.9 KiB libzstd-devel s390x 1.5.7-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 208.0 KiB lz4-devel s390x 1.10.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 102.2 KiB python3-blosc s390x 1.11.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 220.2 KiB python3-blosc2 s390x 3.2.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB python3-brotli s390x 1.1.0-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 919.8 KiB python3-cython s390x 3.1.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 18.9 MiB python3-devel s390x 3.14.0~rc1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB python3-lz4 s390x 4.3.3-10.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.1 MiB python3-numcodecs s390x 0.16.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.8 MiB python3-pytest noarch 8.3.5-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 21.6 MiB python3-snappy noarch 0.7.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.7 KiB python3-tifffile noarch 2025.6.11-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.0 MiB python3-zarr noarch 2.18.7-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.3 MiB python3-zstd s390x 1.5.6.7-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.6 KiB snappy-devel s390x 1.2.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 47.4 KiB xz-devel s390x 1:5.8.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 258.8 KiB zfp-devel s390x 1.0.1-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 480.2 KiB zlib-ng-devel s390x 2.2.4-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 103.9 KiB zopfli-devel s390x 1.0.3-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.7 KiB Installing dependencies: CharLS s390x 2.4.2-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 350.4 KiB annobin-docs noarch 12.99-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 98.9 KiB annobin-plugin-gcc s390x 12.99-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.0 MiB blosc s390x 1.21.6-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 101.6 KiB blosc2 s390x 2.19.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 572.3 KiB brotli s390x 1.1.0-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.4 KiB cfitsio s390x 4.6.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.1 MiB cmake-filesystem s390x 3.31.6-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 0.0 B cpp s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 27.2 MiB expat s390x 2.7.1-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 313.7 KiB flexiblas s390x 3.4.5-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 50.4 KiB flexiblas-netlib s390x 3.4.5-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 12.5 MiB flexiblas-openblas-openmp s390x 3.4.5-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 39.0 KiB gcc s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.3 MiB gcc-plugin-annobin s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 56.8 KiB giflib s390x 5.2.2-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 119.9 KiB glibc-devel s390x 2.42-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.6 MiB jbigkit-libs s390x 2.1-32.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 116.9 KiB jxrlib s390x 1.1-32.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 770.5 KiB kernel-headers s390x 6.16.0-65.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.7 MiB lcms2 s390x 2.16-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 452.6 KiB libaec s390x 1.1.4-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 101.9 KiB libaom s390x 3.12.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.4 MiB libaom-devel s390x 3.12.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 26.8 MiB libasan s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB libatomic s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 28.3 KiB libavif s390x 1.1.1-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 217.9 KiB libdav1d s390x 1.5.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 641.3 KiB libdav1d-devel s390x 1.5.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 41.9 KiB libdeflate s390x 1.24-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 102.5 KiB libgfortran s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.5 MiB libheif s390x 1.20.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB libjpeg-turbo s390x 3.1.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 774.1 KiB liblerc s390x 4.0.0-9.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 257.1 KiB libmpc s390x 1.3.1-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 160.4 KiB libopenjph s390x 0.21.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 317.3 KiB libopenjph-devel s390x 0.21.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 89.9 KiB libpng s390x 2:1.6.50-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 249.6 KiB libstdc++-devel s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 37.1 MiB libtiff s390x 4.7.0-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 665.5 KiB libubsan s390x 15.1.1-5.fc43.1 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 495.6 KiB libwebp s390x 1.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 723.7 KiB libwebp-devel s390x 1.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 121.7 KiB libxcrypt-devel s390x 4.4.38-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 30.8 KiB libyuv s390x 0-0.57.20240704git96bbdb5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 412.9 KiB make s390x 1:4.4.1-11.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.9 MiB mpdecimal s390x 4.0.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 237.0 KiB noopenh264 s390x 2.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 34.9 KiB noopenh264-devel s390x 2.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 61.4 KiB openblas s390x 0.3.29-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 111.7 KiB openblas-openmp s390x 0.3.29-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 15.2 MiB openjpeg s390x 2.5.3-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 483.6 KiB openjpeg-devel s390x 2.5.3-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 75.6 KiB openjpeg-tools s390x 2.5.3-7.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 192.5 KiB pyproject-rpm-macros noarch 1.18.3-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 114.5 KiB python-pip-wheel noarch 25.1.1-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.2 MiB python-rpm-macros noarch 3.14-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 22.8 KiB python3 s390x 3.14.0~rc1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 24.7 KiB python3-asciitree noarch 0.3.3-33.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 20.9 KiB python3-cffi s390x 1.17.1-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.4 MiB python3-charset-normalizer noarch 3.4.2-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 354.0 KiB python3-cpuinfo noarch 9.0.0-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 310.8 KiB python3-cramjam s390x 2.11.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 3.4 MiB python3-fasteners noarch 0.19-15.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 117.2 KiB python3-idna noarch 3.10-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 730.6 KiB python3-iniconfig noarch 2.1.0-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 42.4 KiB python3-libs s390x 3.14.0~rc1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 43.2 MiB python3-msgpack s390x 1.1.0-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 339.0 KiB python3-ndindex s390x 1.10.0-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB python3-numexpr s390x 2.10.2-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 818.7 KiB python3-numpy s390x 1:2.3.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 37.7 MiB python3-numpy-f2py s390x 1:2.3.2-1.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.1 MiB python3-packaging noarch 25.0-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 607.5 KiB python3-platformdirs noarch 4.2.2-6.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 177.6 KiB python3-pluggy noarch 1.6.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 211.0 KiB python3-ply noarch 3.11-28.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 575.2 KiB python3-pycparser noarch 2.22-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.5 MiB python3-requests noarch 2.32.4-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 478.2 KiB python3-rpm-generators noarch 14-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 81.7 KiB python3-rpm-macros noarch 3.14-4.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 6.5 KiB python3-typing-extensions noarch 4.14.1-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 531.4 KiB python3-urllib3 noarch 2.4.0-5.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.1 MiB rav1e-devel s390x 0.7.1-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 46.6 KiB rav1e-libs s390x 0.7.1-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.2 MiB snappy s390x 1.2.2-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 71.3 KiB svt-av1-devel s390x 2.3.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 71.4 KiB svt-av1-libs s390x 2.3.0-2.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 2.7 MiB tzdata noarch 2025b-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 1.6 MiB zfp s390x 1.0.1-8.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 283.3 KiB zlib-ng s390x 2.2.4-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 128.5 KiB zlib-ng-compat-devel s390x 2.2.4-3.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 107.0 KiB zopfli s390x 1.0.3-13.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 320.0 KiB Transaction Summary: Installing: 129 packages Total size of inbound packages is 132 MiB. Need to download 132 MiB. After this operation, 440 MiB extra will be used (install 440 MiB, remove 0 B). [ 1/129] blosc-devel-0:1.21.6-7.fc43.s 100% | 16.8 KiB/s | 14.6 KiB | 00m01s [ 2/129] CharLS-devel-0:2.4.2-9.fc43.s 100% | 34.7 KiB/s | 30.1 KiB | 00m01s [ 3/129] blosc2-devel-0:2.19.0-2.fc43. 100% | 41.9 KiB/s | 41.9 KiB | 00m01s [ 4/129] brotli-devel-0:1.1.0-8.fc43.s 100% | 117.9 KiB/s | 33.7 KiB | 00m00s [ 5/129] bzip2-devel-0:1.0.8-21.fc43.s 100% | 368.4 KiB/s | 213.3 KiB | 00m01s [ 6/129] cfitsio-devel-0:4.6.2-2.fc43. 100% | 176.9 KiB/s | 126.7 KiB | 00m01s [ 7/129] giflib-devel-0:5.2.2-8.fc43.s 100% | 686.1 KiB/s | 196.9 KiB | 00m00s [ 8/129] jxrlib-devel-0:1.1-32.fc43.s3 100% | 134.3 KiB/s | 38.5 KiB | 00m00s [ 9/129] lcms2-devel-0:2.16-6.fc43.s39 100% | 109.6 KiB/s | 31.7 KiB | 00m00s [ 10/129] libaec-devel-0:1.1.4-2.fc43.s 100% | 52.1 KiB/s | 14.9 KiB | 00m00s [ 11/129] libavif-devel-0:1.1.1-4.fc43. 100% | 115.1 KiB/s | 33.4 KiB | 00m00s [ 12/129] libdeflate-devel-0:1.24-2.fc4 100% | 62.6 KiB/s | 18.0 KiB | 00m00s [ 13/129] gcc-c++-0:15.1.1-5.fc43.1.s39 100% | 8.5 MiB/s | 12.4 MiB | 00m01s [ 14/129] libheif-devel-0:1.20.1-2.fc43 100% | 199.4 KiB/s | 58.4 KiB | 00m00s [ 15/129] libjpeg-turbo-devel-0:3.1.1-2 100% | 340.4 KiB/s | 97.4 KiB | 00m00s [ 16/129] libpng-devel-2:1.6.50-2.fc43. 100% | 1.0 MiB/s | 294.6 KiB | 00m00s [ 17/129] libtiff-devel-0:4.7.0-6.fc43. 100% | 895.5 KiB/s | 257.0 KiB | 00m00s [ 18/129] libzstd-devel-0:1.5.7-2.fc43. 100% | 182.6 KiB/s | 52.8 KiB | 00m00s [ 19/129] lz4-devel-0:1.10.0-3.fc43.s39 100% | 112.3 KiB/s | 32.0 KiB | 00m00s [ 20/129] liblerc-devel-0:4.0.0-9.fc43. 100% | 3.6 MiB/s | 3.2 MiB | 00m01s [ 21/129] python3-devel-0:3.14.0~rc1-2. 100% | 1.3 MiB/s | 386.2 KiB | 00m00s [ 22/129] python3-blosc-0:1.11.3-2.fc43 100% | 212.2 KiB/s | 61.1 KiB | 00m00s [ 23/129] python3-cython-0:3.1.2-2.fc43 100% | 6.7 MiB/s | 3.9 MiB | 00m01s [ 24/129] python3-blosc2-0:3.2.0-2.fc43 100% | 1.8 MiB/s | 518.7 KiB | 00m00s [ 25/129] python3-brotli-0:1.1.0-8.fc43 100% | 1.3 MiB/s | 384.4 KiB | 00m00s [ 26/129] python3-lz4-0:4.3.3-10.fc43.s 100% | 1.7 MiB/s | 502.9 KiB | 00m00s [ 27/129] python3-numcodecs-0:0.16.1-3. 100% | 1.6 MiB/s | 465.7 KiB | 00m00s [ 28/129] python3-tifffile-0:2025.6.11- 100% | 1.8 MiB/s | 523.8 KiB | 00m00s [ 29/129] python3-snappy-0:0.7.3-2.fc43 100% | 91.0 KiB/s | 26.3 KiB | 00m00s [ 30/129] python3-zarr-0:2.18.7-4.fc43. 100% | 1.9 MiB/s | 549.9 KiB | 00m00s [ 31/129] snappy-devel-0:1.2.2-2.fc43.s 100% | 77.3 KiB/s | 22.0 KiB | 00m00s [ 32/129] python3-zstd-0:1.5.6.7-3.fc43 100% | 75.3 KiB/s | 21.8 KiB | 00m00s [ 33/129] xz-devel-1:5.8.1-2.fc43.s390x 100% | 219.8 KiB/s | 62.7 KiB | 00m00s [ 34/129] zlib-ng-devel-0:2.2.4-3.fc43. 100% | 132.7 KiB/s | 37.7 KiB | 00m00s [ 35/129] zfp-devel-0:1.0.1-8.fc43.s390 100% | 247.8 KiB/s | 71.4 KiB | 00m00s [ 36/129] zopfli-devel-0:1.0.3-13.fc43. 100% | 44.9 KiB/s | 12.8 KiB | 00m00s [ 37/129] blosc-0:1.21.6-7.fc43.s390x 100% | 175.2 KiB/s | 50.1 KiB | 00m00s [ 38/129] CharLS-0:2.4.2-9.fc43.s390x 100% | 447.8 KiB/s | 129.4 KiB | 00m00s [ 39/129] blosc2-0:2.19.0-2.fc43.s390x 100% | 784.6 KiB/s | 225.2 KiB | 00m00s [ 40/129] brotli-0:1.1.0-8.fc43.s390x 100% | 69.5 KiB/s | 20.0 KiB | 00m00s [ 41/129] cfitsio-0:4.6.2-2.fc43.s390x 100% | 2.3 MiB/s | 690.3 KiB | 00m00s [ 42/129] giflib-0:5.2.2-8.fc43.s390x 100% | 194.0 KiB/s | 55.1 KiB | 00m00s [ 43/129] libstdc++-devel-0:15.1.1-5.fc 100% | 11.4 MiB/s | 5.1 MiB | 00m00s [ 44/129] jxrlib-0:1.1-32.fc43.s390x 100% | 1.6 MiB/s | 470.5 KiB | 00m00s [ 45/129] lcms2-0:2.16-6.fc43.s390x 100% | 655.7 KiB/s | 188.9 KiB | 00m00s [ 46/129] libaec-0:1.1.4-2.fc43.s390x 100% | 140.0 KiB/s | 40.5 KiB | 00m00s [ 47/129] libavif-0:1.1.1-4.fc43.s390x 100% | 366.7 KiB/s | 105.2 KiB | 00m00s [ 48/129] libdeflate-0:1.24-2.fc43.s390 100% | 221.0 KiB/s | 63.9 KiB | 00m00s [ 49/129] libheif-0:1.20.1-2.fc43.s390x 100% | 2.0 MiB/s | 595.7 KiB | 00m00s [ 50/129] libjpeg-turbo-0:3.1.1-2.fc43. 100% | 875.1 KiB/s | 252.9 KiB | 00m00s [ 51/129] gcc-0:15.1.1-5.fc43.1.s390x 100% | 19.7 MiB/s | 32.2 MiB | 00m02s [ 52/129] liblerc-0:4.0.0-9.fc43.s390x 100% | 391.9 KiB/s | 112.5 KiB | 00m00s [ 53/129] libpng-2:1.6.50-2.fc43.s390x 100% | 452.9 KiB/s | 130.9 KiB | 00m00s [ 54/129] libtiff-0:4.7.0-6.fc43.s390x 100% | 834.5 KiB/s | 240.3 KiB | 00m00s [ 55/129] python3-0:3.14.0~rc1-2.fc43.s 100% | 94.0 KiB/s | 27.2 KiB | 00m00s [ 56/129] python3-cpuinfo-0:9.0.0-14.fc 100% | 237.3 KiB/s | 68.6 KiB | 00m00s [ 57/129] python3-msgpack-0:1.1.0-4.fc4 100% | 391.7 KiB/s | 112.0 KiB | 00m00s [ 58/129] python3-libs-0:3.14.0~rc1-2.f 100% | 15.9 MiB/s | 9.4 MiB | 00m01s [ 59/129] python3-ndindex-0:1.10.0-3.fc 100% | 949.8 KiB/s | 273.5 KiB | 00m00s [ 60/129] python3-numexpr-0:2.10.2-4.fc 100% | 785.6 KiB/s | 227.0 KiB | 00m00s [ 61/129] python3-platformdirs-0:4.2.2- 100% | 152.0 KiB/s | 43.5 KiB | 00m00s [ 62/129] python3-requests-0:2.32.4-3.f 100% | 520.2 KiB/s | 150.3 KiB | 00m00s [ 63/129] python3-typing-extensions-0:4 100% | 391.5 KiB/s | 111.2 KiB | 00m00s [ 64/129] python3-cramjam-0:2.11.0-1.fc 100% | 4.2 MiB/s | 1.2 MiB | 00m00s [ 65/129] python3-asciitree-0:0.3.3-33. 100% | 62.5 KiB/s | 18.1 KiB | 00m00s [ 66/129] python3-fasteners-0:0.19-15.f 100% | 158.3 KiB/s | 44.8 KiB | 00m00s [ 67/129] snappy-0:1.2.2-2.fc43.s390x 100% | 141.9 KiB/s | 40.6 KiB | 00m00s [ 68/129] zlib-ng-0:2.2.4-3.fc43.s390x 100% | 262.5 KiB/s | 74.8 KiB | 00m00s [ 69/129] zfp-0:1.0.1-8.fc43.s390x 100% | 326.2 KiB/s | 93.9 KiB | 00m00s [ 70/129] zopfli-0:1.0.3-13.fc43.s390x 100% | 524.4 KiB/s | 151.0 KiB | 00m00s [ 71/129] noopenh264-0:2.6.0-2.fc43.s39 100% | 77.8 KiB/s | 22.1 KiB | 00m00s [ 72/129] python3-charset-normalizer-0: 100% | 378.5 KiB/s | 108.6 KiB | 00m00s [ 73/129] python3-idna-0:3.10-4.fc43.no 100% | 410.0 KiB/s | 118.5 KiB | 00m00s [ 74/129] python3-urllib3-0:2.4.0-5.fc4 100% | 957.2 KiB/s | 275.7 KiB | 00m00s [ 75/129] python3-pytest-0:8.3.5-7.fc43 100% | 4.7 MiB/s | 2.1 MiB | 00m00s [ 76/129] python3-cffi-0:1.17.1-4.fc43. 100% | 1.1 MiB/s | 311.5 KiB | 00m00s [ 77/129] python3-iniconfig-0:2.1.0-1.f 100% | 79.3 KiB/s | 22.7 KiB | 00m00s [ 78/129] python3-packaging-0:25.0-4.fc 100% | 522.6 KiB/s | 151.0 KiB | 00m00s [ 79/129] python3-pluggy-0:1.6.0-2.fc43 100% | 195.6 KiB/s | 55.9 KiB | 00m00s [ 80/129] python3-pycparser-0:2.22-3.fc 100% | 913.8 KiB/s | 264.1 KiB | 00m00s [ 81/129] noopenh264-devel-0:2.6.0-2.fc 100% | 87.2 KiB/s | 25.0 KiB | 00m00s [ 82/129] python3-ply-0:3.11-28.fc43.no 100% | 455.5 KiB/s | 132.1 KiB | 00m00s [ 83/129] cpp-0:15.1.1-5.fc43.1.s390x 100% | 5.1 MiB/s | 10.2 MiB | 00m02s [ 84/129] cmake-filesystem-0:3.31.6-4.f 100% | 53.8 KiB/s | 15.4 KiB | 00m00s [ 85/129] flexiblas-netlib-0:3.4.5-4.fc 100% | 8.9 MiB/s | 3.8 MiB | 00m00s [ 86/129] python3-numpy-f2py-1:2.3.2-1. 100% | 1.6 MiB/s | 461.6 KiB | 00m00s [ 87/129] python3-numpy-1:2.3.2-1.fc43. 100% | 12.2 MiB/s | 7.1 MiB | 00m01s [ 88/129] expat-0:2.7.1-3.fc43.s390x 100% | 417.5 KiB/s | 119.4 KiB | 00m00s [ 89/129] mpdecimal-0:4.0.1-2.fc43.s390 100% | 370.9 KiB/s | 106.8 KiB | 00m00s [ 90/129] python-pip-wheel-0:25.1.1-14. 100% | 4.2 MiB/s | 1.2 MiB | 00m00s [ 91/129] tzdata-0:2025b-3.fc43.noarch 100% | 1.5 MiB/s | 429.3 KiB | 00m00s [ 92/129] libwebp-devel-0:1.6.0-2.fc43. 100% | 136.9 KiB/s | 39.4 KiB | 00m00s [ 93/129] libwebp-0:1.6.0-2.fc43.s390x 100% | 996.2 KiB/s | 281.9 KiB | 00m00s [ 94/129] zlib-ng-compat-devel-0:2.2.4- 100% | 134.1 KiB/s | 38.4 KiB | 00m00s [ 95/129] jbigkit-libs-0:2.1-32.fc43.s3 100% | 193.5 KiB/s | 55.7 KiB | 00m00s [ 96/129] libaom-0:3.12.0-3.fc43.s390x 100% | 4.8 MiB/s | 1.4 MiB | 00m00s [ 97/129] libdav1d-devel-0:1.5.1-2.fc43 100% | 66.7 KiB/s | 19.2 KiB | 00m00s [ 98/129] libdav1d-0:1.5.1-2.fc43.s390x 100% | 1.1 MiB/s | 320.4 KiB | 00m00s [ 99/129] libopenjph-devel-0:0.21.3-2.f 100% | 93.5 KiB/s | 27.0 KiB | 00m00s [100/129] libaom-devel-0:3.12.0-3.fc43. 100% | 14.9 MiB/s | 13.0 MiB | 00m01s [101/129] libopenjph-0:0.21.3-2.fc43.s3 100% | 445.3 KiB/s | 127.8 KiB | 00m00s [102/129] openjpeg-devel-0:2.5.3-7.fc43 100% | 94.5 KiB/s | 27.2 KiB | 00m00s [103/129] openjpeg-0:2.5.3-7.fc43.s390x 100% | 748.5 KiB/s | 211.8 KiB | 00m00s [104/129] openjpeg-tools-0:2.5.3-7.fc43 100% | 314.7 KiB/s | 90.0 KiB | 00m00s [105/129] rav1e-devel-0:0.7.1-8.fc43.s3 100% | 56.9 KiB/s | 16.4 KiB | 00m00s [106/129] rav1e-libs-0:0.7.1-8.fc43.s39 100% | 2.7 MiB/s | 793.2 KiB | 00m00s [107/129] svt-av1-devel-0:2.3.0-2.fc43. 100% | 95.5 KiB/s | 27.4 KiB | 00m00s [108/129] svt-av1-libs-0:2.3.0-2.fc43.s 100% | 3.6 MiB/s | 1.1 MiB | 00m00s [109/129] libyuv-0:0-0.57.20240704git96 100% | 505.6 KiB/s | 142.6 KiB | 00m00s [110/129] libmpc-0:1.3.1-8.fc43.s390x 100% | 253.5 KiB/s | 72.5 KiB | 00m00s [111/129] glibc-devel-0:2.42-2.fc43.s39 100% | 1.8 MiB/s | 531.2 KiB | 00m00s [112/129] libasan-0:15.1.1-5.fc43.1.s39 100% | 1.8 MiB/s | 529.4 KiB | 00m00s [113/129] libatomic-0:15.1.1-5.fc43.1.s 100% | 140.7 KiB/s | 40.2 KiB | 00m00s [114/129] libubsan-0:15.1.1-5.fc43.1.s3 100% | 816.3 KiB/s | 235.9 KiB | 00m00s [115/129] make-1:4.4.1-11.fc43.s390x 100% | 2.1 MiB/s | 597.7 KiB | 00m00s [116/129] flexiblas-0:3.4.5-4.fc43.s390 100% | 90.6 KiB/s | 25.9 KiB | 00m00s [117/129] flexiblas-openblas-openmp-0:3 100% | 59.5 KiB/s | 17.0 KiB | 00m00s [118/129] libgfortran-0:15.1.1-5.fc43.1 100% | 2.2 MiB/s | 643.8 KiB | 00m00s [119/129] kernel-headers-0:6.16.0-65.fc 100% | 5.2 MiB/s | 1.5 MiB | 00m00s [120/129] libxcrypt-devel-0:4.4.38-8.fc 100% | 101.6 KiB/s | 29.1 KiB | 00m00s [121/129] openblas-openmp-0:0.3.29-2.fc 100% | 10.0 MiB/s | 4.3 MiB | 00m00s [122/129] openblas-0:0.3.29-2.fc43.s390 100% | 148.0 KiB/s | 42.2 KiB | 00m00s [123/129] gcc-plugin-annobin-0:15.1.1-5 100% | 188.5 KiB/s | 53.9 KiB | 00m00s [124/129] pyproject-rpm-macros-0:1.18.3 100% | 155.6 KiB/s | 44.3 KiB | 00m00s [125/129] python-rpm-macros-0:3.14-4.fc 100% | 59.9 KiB/s | 17.2 KiB | 00m00s [126/129] python3-rpm-macros-0:3.14-4.f 100% | 42.0 KiB/s | 11.7 KiB | 00m00s [127/129] python3-rpm-generators-0:14-1 100% | 100.5 KiB/s | 28.5 KiB | 00m00s [128/129] annobin-plugin-gcc-0:12.99-1. 100% | 3.3 MiB/s | 996.3 KiB | 00m00s [129/129] annobin-docs-0:12.99-1.fc43.n 100% | 319.7 KiB/s | 89.5 KiB | 00m00s -------------------------------------------------------------------------------- [129/129] Total 100% | 8.4 MiB/s | 131.7 MiB | 00m16s Running transaction [ 1/131] Verify package files 100% | 299.0 B/s | 129.0 B | 00m00s [ 2/131] Prepare transaction 100% | 1.4 KiB/s | 129.0 B | 00m00s [ 3/131] Installing cmake-filesystem-0 100% | 7.4 MiB/s | 7.6 KiB | 00m00s [ 4/131] Installing libjpeg-turbo-0:3. 100% | 252.6 MiB/s | 775.9 KiB | 00m00s [ 5/131] Installing libjpeg-turbo-deve 100% | 348.1 MiB/s | 356.5 KiB | 00m00s [ 6/131] Installing zlib-ng-compat-dev 100% | 106.0 MiB/s | 108.5 KiB | 00m00s [ 7/131] Installing python-rpm-macros- 100% | 0.0 B/s | 23.5 KiB | 00m00s [ 8/131] Installing libmpc-0:1.3.1-8.f 100% | 158.1 MiB/s | 161.9 KiB | 00m00s [ 9/131] Installing svt-av1-libs-0:2.3 100% | 249.1 MiB/s | 2.7 MiB | 00m00s [ 10/131] Installing rav1e-libs-0:0.7.1 100% | 274.0 MiB/s | 2.2 MiB | 00m00s [ 11/131] Installing openjpeg-0:2.5.3-7 100% | 237.1 MiB/s | 485.6 KiB | 00m00s [ 12/131] Installing libdav1d-0:1.5.1-2 100% | 209.2 MiB/s | 642.6 KiB | 00m00s [ 13/131] Installing libaom-0:3.12.0-3. 100% | 262.3 MiB/s | 3.4 MiB | 00m00s [ 14/131] Installing libwebp-0:1.6.0-2. 100% | 236.9 MiB/s | 727.8 KiB | 00m00s [ 15/131] Installing snappy-0:1.2.2-2.f 100% | 71.2 MiB/s | 72.9 KiB | 00m00s [ 16/131] Installing blosc-0:1.21.6-7.f 100% | 102.0 MiB/s | 104.5 KiB | 00m00s [ 17/131] Installing libwebp-devel-0:1. 100% | 40.8 MiB/s | 125.4 KiB | 00m00s [ 18/131] Installing libaom-devel-0:3.1 100% | 289.8 MiB/s | 27.0 MiB | 00m00s [ 19/131] Installing libdav1d-devel-0:1 100% | 0.0 B/s | 43.2 KiB | 00m00s [ 20/131] Installing rav1e-devel-0:0.7. 100% | 0.0 B/s | 47.3 KiB | 00m00s [ 21/131] Installing svt-av1-devel-0:2. 100% | 71.2 MiB/s | 73.0 KiB | 00m00s [ 22/131] Installing python3-rpm-macros 100% | 0.0 B/s | 6.8 KiB | 00m00s [ 23/131] Installing libgfortran-0:15.1 100% | 312.2 MiB/s | 2.5 MiB | 00m00s [ 24/131] Installing libopenjph-0:0.21. 100% | 155.5 MiB/s | 318.5 KiB | 00m00s [ 25/131] Installing noopenh264-0:2.6.0 100% | 0.0 B/s | 36.5 KiB | 00m00s [ 26/131] Installing zlib-ng-0:2.2.4-3. 100% | 126.8 MiB/s | 129.9 KiB | 00m00s [ 27/131] Installing blosc2-0:2.19.0-2. 100% | 187.5 MiB/s | 576.0 KiB | 00m00s [ 28/131] Installing libpng-2:1.6.50-2. 100% | 244.9 MiB/s | 250.8 KiB | 00m00s [ 29/131] Installing liblerc-0:4.0.0-9. 100% | 252.6 MiB/s | 258.7 KiB | 00m00s [ 30/131] Installing lcms2-0:2.16-6.fc4 100% | 221.8 MiB/s | 454.2 KiB | 00m00s [ 31/131] Installing liblerc-devel-0:4. 100% | 389.7 MiB/s | 4.3 MiB | 00m00s [ 32/131] Installing libheif-0:1.20.1-2 100% | 268.3 MiB/s | 1.6 MiB | 00m00s [ 33/131] Installing noopenh264-devel-0 100% | 0.0 B/s | 62.5 KiB | 00m00s [ 34/131] Installing libopenjph-devel-0 100% | 90.5 MiB/s | 92.6 KiB | 00m00s [ 35/131] Installing pyproject-rpm-macr 100% | 113.7 MiB/s | 116.5 KiB | 00m00s [ 36/131] Installing cpp-0:15.1.1-5.fc4 100% | 242.9 MiB/s | 27.2 MiB | 00m00s [ 37/131] Installing libyuv-0:0-0.57.20 100% | 202.4 MiB/s | 414.5 KiB | 00m00s [ 38/131] Installing libavif-0:1.1.1-4. 100% | 214.0 MiB/s | 219.1 KiB | 00m00s [ 39/131] Installing annobin-docs-0:12. 100% | 0.0 B/s | 100.1 KiB | 00m00s [ 40/131] Installing openblas-0:0.3.29- 100% | 110.8 MiB/s | 113.5 KiB | 00m00s [ 41/131] Installing openblas-openmp-0: 100% | 287.6 MiB/s | 15.2 MiB | 00m00s [ 42/131] Installing flexiblas-0:3.4.5- 100% | 0.0 B/s | 51.6 KiB | 00m00s [ 43/131] Installing flexiblas-openblas 100% | 0.0 B/s | 39.8 KiB | 00m00s [ 44/131] Installing flexiblas-netlib-0 100% | 222.8 MiB/s | 12.5 MiB | 00m00s [ 45/131] Installing kernel-headers-0:6 100% | 174.5 MiB/s | 6.8 MiB | 00m00s [ 46/131] Installing libxcrypt-devel-0: 100% | 32.3 MiB/s | 33.1 KiB | 00m00s [ 47/131] Installing glibc-devel-0:2.42 100% | 204.1 MiB/s | 3.7 MiB | 00m00s [ 48/131] Installing make-1:4.4.1-11.fc 100% | 97.8 MiB/s | 1.9 MiB | 00m00s [ 49/131] Installing libubsan-0:15.1.1- 100% | 242.4 MiB/s | 496.4 KiB | 00m00s [ 50/131] Installing libatomic-0:15.1.1 100% | 0.0 B/s | 29.2 KiB | 00m00s [ 51/131] Installing libasan-0:15.1.1-5 100% | 269.9 MiB/s | 1.6 MiB | 00m00s [ 52/131] Installing gcc-0:15.1.1-5.fc4 100% | 285.5 MiB/s | 81.4 MiB | 00m00s [ 53/131] Installing jbigkit-libs-0:2.1 100% | 116.1 MiB/s | 118.9 KiB | 00m00s [ 54/131] Installing libtiff-0:4.7.0-6. 100% | 217.4 MiB/s | 667.8 KiB | 00m00s [ 55/131] Installing openjpeg-tools-0:2 100% | 13.6 MiB/s | 194.4 KiB | 00m00s [ 56/131] Installing openjpeg-devel-0:2 100% | 25.1 MiB/s | 77.2 KiB | 00m00s [ 57/131] Installing tzdata-0:2025b-3.f 100% | 52.5 MiB/s | 1.9 MiB | 00m00s [ 58/131] Installing python-pip-wheel-0 100% | 622.5 MiB/s | 1.2 MiB | 00m00s [ 59/131] Installing mpdecimal-0:4.0.1- 100% | 232.9 MiB/s | 238.5 KiB | 00m00s [ 60/131] Installing expat-0:2.7.1-3.fc 100% | 18.1 MiB/s | 315.8 KiB | 00m00s [ 61/131] Installing python3-libs-0:3.1 100% | 265.7 MiB/s | 43.6 MiB | 00m00s [ 62/131] Installing python3-0:3.14.0~r 100% | 1.8 MiB/s | 26.5 KiB | 00m00s [ 63/131] Installing python3-numpy-1:2. 100% | 267.2 MiB/s | 37.9 MiB | 00m00s [ 64/131] Installing python3-numpy-f2py 100% | 86.9 MiB/s | 2.2 MiB | 00m00s [ 65/131] Installing python3-idna-0:3.1 100% | 239.9 MiB/s | 737.1 KiB | 00m00s [ 66/131] Installing python3-packaging- 100% | 201.8 MiB/s | 620.0 KiB | 00m00s [ 67/131] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 68/131] Installing python3-urllib3-0: 100% | 182.9 MiB/s | 1.1 MiB | 00m00s [ 69/131] Installing python3-ndindex-0: 100% | 184.3 MiB/s | 1.1 MiB | 00m00s [ 70/131] Installing python3-numexpr-0: 100% | 202.5 MiB/s | 829.6 KiB | 00m00s [ 71/131] Installing python3-cpuinfo-0: 100% | 23.7 MiB/s | 314.9 KiB | 00m00s [ 72/131] Installing python3-msgpack-0: 100% | 168.0 MiB/s | 344.1 KiB | 00m00s [ 73/131] Installing python3-platformdi 100% | 179.7 MiB/s | 184.0 KiB | 00m00s [ 74/131] Installing python3-typing-ext 100% | 260.6 MiB/s | 533.7 KiB | 00m00s [ 75/131] Installing python3-numcodecs- 100% | 181.3 MiB/s | 1.8 MiB | 00m00s [ 76/131] Installing python3-cramjam-0: 100% | 242.9 MiB/s | 3.4 MiB | 00m00s [ 77/131] Installing python3-asciitree- 100% | 24.4 MiB/s | 25.0 KiB | 00m00s [ 78/131] Installing python3-fasteners- 100% | 122.4 MiB/s | 125.3 KiB | 00m00s [ 79/131] Installing python3-charset-no 100% | 25.4 MiB/s | 364.1 KiB | 00m00s [ 80/131] Installing python3-requests-0 100% | 159.6 MiB/s | 490.2 KiB | 00m00s [ 81/131] Installing python3-iniconfig- 100% | 45.4 MiB/s | 46.5 KiB | 00m00s [ 82/131] Installing python3-pluggy-0:1 100% | 212.4 MiB/s | 217.5 KiB | 00m00s [ 83/131] Installing python3-ply-0:3.11 100% | 283.4 MiB/s | 580.4 KiB | 00m00s [ 84/131] Installing python3-pycparser- 100% | 250.9 MiB/s | 1.5 MiB | 00m00s [ 85/131] Installing python3-cffi-0:1.1 100% | 230.1 MiB/s | 1.4 MiB | 00m00s [ 86/131] Installing zopfli-0:1.0.3-13. 100% | 22.5 MiB/s | 323.1 KiB | 00m00s [ 87/131] Installing zfp-0:1.0.1-8.fc43 100% | 21.4 MiB/s | 285.3 KiB | 00m00s [ 88/131] Installing libdeflate-0:1.24- 100% | 101.5 MiB/s | 103.9 KiB | 00m00s [ 89/131] Installing libaec-0:1.1.4-2.f 100% | 101.9 MiB/s | 104.3 KiB | 00m00s [ 90/131] Installing jxrlib-0:1.1-32.fc 100% | 50.3 MiB/s | 773.2 KiB | 00m00s [ 91/131] Installing giflib-0:5.2.2-8.f 100% | 59.3 MiB/s | 121.5 KiB | 00m00s [ 92/131] Installing libstdc++-devel-0: 100% | 357.8 MiB/s | 37.2 MiB | 00m00s [ 93/131] Installing cfitsio-0:4.6.2-2. 100% | 267.8 MiB/s | 2.1 MiB | 00m00s [ 94/131] Installing brotli-0:1.1.0-8.f 100% | 2.3 MiB/s | 28.1 KiB | 00m00s [ 95/131] Installing brotli-devel-0:1.1 100% | 66.4 MiB/s | 68.0 KiB | 00m00s [ 96/131] Installing CharLS-0:2.4.2-9.f 100% | 171.9 MiB/s | 352.0 KiB | 00m00s [ 97/131] Installing libzstd-devel-0:1. 100% | 203.9 MiB/s | 208.8 KiB | 00m00s [ 98/131] Installing libtiff-devel-0:4. 100% | 188.6 MiB/s | 772.7 KiB | 00m00s [ 99/131] Installing CharLS-devel-0:2.4 100% | 129.5 MiB/s | 132.6 KiB | 00m00s [100/131] Installing libheif-devel-0:1. 100% | 263.1 MiB/s | 269.4 KiB | 00m00s [101/131] Installing cfitsio-devel-0:4. 100% | 253.7 MiB/s | 519.7 KiB | 00m00s [102/131] Installing gcc-c++-0:15.1.1-5 100% | 251.7 MiB/s | 30.7 MiB | 00m00s [103/131] Installing giflib-devel-0:5.2 100% | 168.8 MiB/s | 691.4 KiB | 00m00s [104/131] Installing jxrlib-devel-0:1.1 100% | 201.7 MiB/s | 206.6 KiB | 00m00s [105/131] Installing libaec-devel-0:1.1 100% | 0.0 B/s | 23.7 KiB | 00m00s [106/131] Installing libdeflate-devel-0 100% | 0.0 B/s | 27.3 KiB | 00m00s [107/131] Installing zfp-devel-0:1.0.1- 100% | 160.5 MiB/s | 493.1 KiB | 00m00s [108/131] Installing zopfli-devel-0:1.0 100% | 0.0 B/s | 16.8 KiB | 00m00s [109/131] Installing python3-snappy-0:0 100% | 32.5 MiB/s | 66.5 KiB | 00m00s [110/131] Installing python3-pytest-0:8 100% | 282.9 MiB/s | 21.8 MiB | 00m00s [111/131] Installing python3-blosc2-0:3 100% | 253.5 MiB/s | 1.8 MiB | 00m00s [112/131] Installing python3-zarr-0:2.1 100% | 301.6 MiB/s | 3.3 MiB | 00m00s [113/131] Installing python3-devel-0:3. 100% | 86.5 MiB/s | 2.0 MiB | 00m00s [114/131] Installing python3-tifffile-0 100% | 145.1 MiB/s | 3.0 MiB | 00m00s [115/131] Installing python3-cython-0:3 100% | 240.8 MiB/s | 19.0 MiB | 00m00s [116/131] Installing python3-blosc-0:1. 100% | 220.6 MiB/s | 225.9 KiB | 00m00s [117/131] Installing python3-brotli-0:1 100% | 180.1 MiB/s | 922.3 KiB | 00m00s [118/131] Installing python3-lz4-0:4.3. 100% | 363.0 MiB/s | 6.2 MiB | 00m00s [119/131] Installing python3-zstd-0:1.5 100% | 62.4 MiB/s | 63.8 KiB | 00m00s [120/131] Installing gcc-plugin-annobin 100% | 4.8 MiB/s | 58.4 KiB | 00m00s [121/131] Installing annobin-plugin-gcc 100% | 75.9 MiB/s | 1.0 MiB | 00m00s [122/131] Installing libavif-devel-0:1. 100% | 89.8 MiB/s | 92.0 KiB | 00m00s [123/131] Installing lcms2-devel-0:2.16 100% | 0.0 B/s | 136.4 KiB | 00m00s [124/131] Installing libpng-devel-2:1.6 100% | 51.3 MiB/s | 893.0 KiB | 00m00s [125/131] Installing blosc2-devel-0:2.1 100% | 153.1 MiB/s | 156.8 KiB | 00m00s [126/131] Installing zlib-ng-devel-0:2. 100% | 103.0 MiB/s | 105.4 KiB | 00m00s [127/131] Installing blosc-devel-0:1.21 100% | 0.0 B/s | 21.6 KiB | 00m00s [128/131] Installing snappy-devel-0:1.2 100% | 48.5 MiB/s | 49.6 KiB | 00m00s [129/131] Installing xz-devel-1:5.8.1-2 100% | 128.2 MiB/s | 262.6 KiB | 00m00s [130/131] Installing lz4-devel-0:1.10.0 100% | 0.0 B/s | 103.2 KiB | 00m00s [131/131] Installing bzip2-devel-0:1.0. 100% | 2.9 MiB/s | 310.7 KiB | 00m00s Warning: skipped OpenPGP checks for 129 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Finish: build setup for python-imagecodecs-2025.3.30-2.fc43.src.rpm Start: rpmbuild python-imagecodecs-2025.3.30-2.fc43.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1754438400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.0mk58L Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WZ4t9R + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + rm -rf imagecodecs-2025.3.30 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imagecodecs-2025.3.30.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imagecodecs-2025.3.30 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -a /builddir/build/SOURCES/imagecodecs_distributor_setup.py . ++ grep -rl '/\* Generated by Cython' + rm -f + rm -r 3rdparty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.uxjgZv + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + cd imagecodecs-2025.3.30 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement not satisfied: setuptools Handling numpy>2 from build-system.requires Requirement satisfied: numpy>2 (installed: numpy 2.3.2) Handling Cython>=3.0.12 from build-system.requires Requirement satisfied: Cython>=3.0.12 (installed: Cython 3.1.2) Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2025.3.30-2.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 5.4 KiB/s | 3.8 KiB | 00m01s Copr repository 100% | 2.2 KiB/s | 1.5 KiB | 00m01s fedora 100% | 2.5 KiB/s | 5.0 KiB | 00m02s updates 100% | 4.6 KiB/s | 6.0 KiB | 00m01s Repositories loaded. Package "CharLS-devel-2.4.2-9.fc43.s390x" is already installed. Package "blosc-devel-1.21.6-7.fc43.s390x" is already installed. Package "blosc2-devel-2.19.0-2.fc43.s390x" is already installed. Package "brotli-devel-1.1.0-8.fc43.s390x" is already installed. Package "bzip2-devel-1.0.8-21.fc43.s390x" is already installed. Package "cfitsio-devel-4.6.2-2.fc43.s390x" is already installed. Package "gcc-c++-15.1.1-5.fc43.1.s390x" is already installed. Package "giflib-devel-5.2.2-8.fc43.s390x" is already installed. Package "jxrlib-devel-1.1-32.fc43.s390x" is already installed. Package "lcms2-devel-2.16-6.fc43.s390x" is already installed. Package "libaec-devel-1.1.4-2.fc43.s390x" is already installed. Package "libavif-devel-1.1.1-4.fc43.s390x" is already installed. Package "libdeflate-devel-1.24-2.fc43.s390x" is already installed. Package "libheif-devel-1.20.1-2.fc43.s390x" is already installed. Package "libjpeg-turbo-devel-3.1.1-2.fc43.s390x" is already installed. Package "liblerc-devel-4.0.0-9.fc43.s390x" is already installed. Package "libpng-devel-2:1.6.50-2.fc43.s390x" is already installed. Package "libtiff-devel-4.7.0-6.fc43.s390x" is already installed. Package "libzstd-devel-1.5.7-2.fc43.s390x" is already installed. Package "lz4-devel-1.10.0-3.fc43.s390x" is already installed. Package "pyproject-rpm-macros-1.18.3-2.fc43.noarch" is already installed. Package "python3-cython-3.1.2-2.fc43.s390x" is already installed. Package "python3-devel-3.14.0~rc1-2.fc43.s390x" is already installed. Package "python3-blosc-1.11.3-2.fc43.s390x" is already installed. Package "python3-blosc2-3.2.0-2.fc43.s390x" is already installed. Package "python3-brotli-1.1.0-8.fc43.s390x" is already installed. Package "python3-cython-3.1.2-2.fc43.s390x" is already installed. Package "python3-lz4-4.3.3-10.fc43.s390x" is already installed. Package "python3-numcodecs-0.16.1-3.fc43.s390x" is already installed. Package "python3-numpy-1:2.3.2-1.fc43.s390x" is already installed. Package "python3-packaging-25.0-4.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-7.fc43.noarch" is already installed. Package "python3-snappy-0.7.3-2.fc43.noarch" is already installed. Package "python3-tifffile-2025.6.11-2.fc43.noarch" is already installed. Package "python3-zarr-2.18.7-4.fc43.noarch" is already installed. Package "python3-zstd-1.5.6.7-3.fc43.s390x" is already installed. Package "snappy-devel-1.2.2-2.fc43.s390x" is already installed. Package "xz-devel-1:5.8.1-2.fc43.s390x" is already installed. Package "zfp-devel-1.0.1-8.fc43.s390x" is already installed. Package "zlib-ng-devel-2.2.4-3.fc43.s390x" is already installed. Package "zopfli-devel-1.0.3-13.fc43.s390x" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 25.1.1-14.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 12.5 MiB python3-setuptools noarch 78.1.1-10.fc43 http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch 9.0 MiB Transaction Summary: Installing: 2 packages Total size of inbound packages is 5 MiB. Need to download 5 MiB. After this operation, 22 MiB extra will be used (install 22 MiB, remove 0 B). [1/2] python3-setuptools-0:78.1.1-10.fc 100% | 1.1 MiB/s | 1.9 MiB | 00m02s [2/2] python3-pip-0:25.1.1-14.fc43.noar 100% | 1.5 MiB/s | 2.6 MiB | 00m02s -------------------------------------------------------------------------------- [2/2] Total 100% | 2.6 MiB/s | 4.6 MiB | 00m02s Running transaction [1/4] Verify package files 100% | 133.0 B/s | 2.0 B | 00m00s [2/4] Prepare transaction 100% | 66.0 B/s | 2.0 B | 00m00s [3/4] Installing python3-setuptools-0:7 100% | 200.5 MiB/s | 9.2 MiB | 00m00s [4/4] Installing python3-pip-0:25.1.1-1 100% | 137.4 MiB/s | 12.8 MiB | 00m00s Warning: skipped OpenPGP checks for 2 packages from repository: http_kojipkgs_fedoraproject_org_repos_rawhide_latest_basearch Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1754438400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.yo8L6J + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + cd imagecodecs-2025.3.30 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 78.1.1) Handling numpy>2 from build-system.requires Requirement satisfied: numpy>2 (installed: numpy 2.3.2) Handling Cython>=3.0.12 from build-system.requires Requirement satisfied: Cython>=3.0.12 (installed: Cython 3.1.2) 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 previously-included files found matching 'imagecodecs/_*.c' 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/data/*.txt' warning: no files found matching 'tests/data/*.zfp' warning: no files found matching 'tests/data/*.icc' warning: no files found matching 'tests/data/*.jxl' warning: no files found matching 'tests/data/*.tif' warning: no files found matching 'tests/data/*.apng' warning: no previously-included files found matching 'tests/data/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/data/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/data/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/data/bcn/*.dds' warning: no previously-included files found matching 'tests/data/33792x79872.jpg' warning: no previously-included files found matching 'tests/data/jpegxr.czi' warning: no previously-included files found matching 'tests/data/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' 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 previously-included files found matching 'imagecodecs/_*.c' 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/data/*.txt' warning: no files found matching 'tests/data/*.zfp' warning: no files found matching 'tests/data/*.icc' warning: no files found matching 'tests/data/*.jxl' warning: no files found matching 'tests/data/*.tif' warning: no files found matching 'tests/data/*.apng' warning: no previously-included files found matching 'tests/data/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/data/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/data/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/data/bcn/*.dds' warning: no previously-included files found matching 'tests/data/33792x79872.jpg' warning: no previously-included files found matching 'tests/data/jpegxr.czi' warning: no previously-included files found matching 'tests/data/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/imagecodecs-2025.3.30.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 2.3.2) 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" Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pytest; extra == "test" Handling tifffile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile; extra == "test" Handling czifile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: czifile; extra == "test" Handling blosc; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc; extra == "test" Handling blosc2; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc2; extra == "test" Handling zstd; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zstd; extra == "test" Handling lz4; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: lz4; extra == "test" Handling pyliblzfse; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pyliblzfse; extra == "test" Handling python-lzf; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-lzf; extra == "test" Handling python-snappy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-snappy; extra == "test" Handling bitshuffle; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: bitshuffle; extra == "test" Handling zopflipy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zopflipy; extra == "test" Handling zarr<3; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zarr<3; extra == "test" Handling numcodecs; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs; extra == "test" + cat /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2025.3.30.dist-info/ removed 'imagecodecs-2025.3.30.dist-info/licenses/LICENSE' removed directory 'imagecodecs-2025.3.30.dist-info/licenses' removed 'imagecodecs-2025.3.30.dist-info/METADATA' removed 'imagecodecs-2025.3.30.dist-info/entry_points.txt' removed 'imagecodecs-2025.3.30.dist-info/top_level.txt' removed directory 'imagecodecs-2025.3.30.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2025.3.30-2.fc43.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: Additional repo http_kojipkgs_fedorapr 100% | 5.3 KiB/s | 3.8 KiB | 00m01s Copr repository 100% | 2.1 KiB/s | 1.5 KiB | 00m01s fedora 100% | 2.6 KiB/s | 5.0 KiB | 00m02s updates 100% | 4.6 KiB/s | 6.0 KiB | 00m01s Repositories loaded. Package "CharLS-devel-2.4.2-9.fc43.s390x" is already installed. Package "blosc-devel-1.21.6-7.fc43.s390x" is already installed. Package "blosc2-devel-2.19.0-2.fc43.s390x" is already installed. Package "brotli-devel-1.1.0-8.fc43.s390x" is already installed. Package "bzip2-devel-1.0.8-21.fc43.s390x" is already installed. Package "cfitsio-devel-4.6.2-2.fc43.s390x" is already installed. Package "gcc-c++-15.1.1-5.fc43.1.s390x" is already installed. Package "giflib-devel-5.2.2-8.fc43.s390x" is already installed. Package "jxrlib-devel-1.1-32.fc43.s390x" is already installed. Package "lcms2-devel-2.16-6.fc43.s390x" is already installed. Package "libaec-devel-1.1.4-2.fc43.s390x" is already installed. Package "libavif-devel-1.1.1-4.fc43.s390x" is already installed. Package "libdeflate-devel-1.24-2.fc43.s390x" is already installed. Package "libheif-devel-1.20.1-2.fc43.s390x" is already installed. Package "libjpeg-turbo-devel-3.1.1-2.fc43.s390x" is already installed. Package "liblerc-devel-4.0.0-9.fc43.s390x" is already installed. Package "libpng-devel-2:1.6.50-2.fc43.s390x" is already installed. Package "libtiff-devel-4.7.0-6.fc43.s390x" is already installed. Package "libzstd-devel-1.5.7-2.fc43.s390x" is already installed. Package "lz4-devel-1.10.0-3.fc43.s390x" is already installed. Package "pyproject-rpm-macros-1.18.3-2.fc43.noarch" is already installed. Package "python3-cython-3.1.2-2.fc43.s390x" is already installed. Package "python3-devel-3.14.0~rc1-2.fc43.s390x" is already installed. Package "python3-blosc-1.11.3-2.fc43.s390x" is already installed. Package "python3-blosc2-3.2.0-2.fc43.s390x" is already installed. Package "python3-brotli-1.1.0-8.fc43.s390x" is already installed. Package "python3-cython-3.1.2-2.fc43.s390x" is already installed. Package "python3-lz4-4.3.3-10.fc43.s390x" is already installed. Package "python3-numcodecs-0.16.1-3.fc43.s390x" is already installed. Package "python3-numpy-1:2.3.2-1.fc43.s390x" is already installed. Package "python3-numpy-1:2.3.2-1.fc43.s390x" is already installed. Package "python3-packaging-25.0-4.fc43.noarch" is already installed. Package "python3-pip-25.1.1-14.fc43.noarch" is already installed. Package "python3-pytest-8.3.5-7.fc43.noarch" is already installed. Package "python3-snappy-0.7.3-2.fc43.noarch" is already installed. Package "python3-setuptools-78.1.1-10.fc43.noarch" is already installed. Package "python3-tifffile-2025.6.11-2.fc43.noarch" is already installed. Package "python3-zarr-2.18.7-4.fc43.noarch" is already installed. Package "python3-zstd-1.5.6.7-3.fc43.s390x" is already installed. Package "snappy-devel-1.2.2-2.fc43.s390x" is already installed. Package "xz-devel-1:5.8.1-2.fc43.s390x" is already installed. Package "zfp-devel-1.0.1-8.fc43.s390x" is already installed. Package "zlib-ng-devel-2.2.4-3.fc43.s390x" is already installed. Package "zopfli-devel-1.0.3-13.fc43.s390x" is already installed.Nothing to do. Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1754438400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LWmBDq + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + cd imagecodecs-2025.3.30 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + echo '(python3dist(tomli) if python3-devel < 3.11)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + RPM_TOXENV=py314 + FEDORA=43 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-buildrequires Handling setuptools from build-system.requires Requirement satisfied: setuptools (installed: setuptools 78.1.1) Handling numpy>2 from build-system.requires Requirement satisfied: numpy>2 (installed: numpy 2.3.2) Handling Cython>=3.0.12 from build-system.requires Requirement satisfied: Cython>=3.0.12 (installed: Cython 3.1.2) 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 previously-included files found matching 'imagecodecs/_*.c' 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/data/*.txt' warning: no files found matching 'tests/data/*.zfp' warning: no files found matching 'tests/data/*.icc' warning: no files found matching 'tests/data/*.jxl' warning: no files found matching 'tests/data/*.tif' warning: no files found matching 'tests/data/*.apng' warning: no previously-included files found matching 'tests/data/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/data/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/data/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/data/bcn/*.dds' warning: no previously-included files found matching 'tests/data/33792x79872.jpg' warning: no previously-included files found matching 'tests/data/jpegxr.czi' warning: no previously-included files found matching 'tests/data/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' 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 previously-included files found matching 'imagecodecs/_*.c' 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/data/*.txt' warning: no files found matching 'tests/data/*.zfp' warning: no files found matching 'tests/data/*.icc' warning: no files found matching 'tests/data/*.jxl' warning: no files found matching 'tests/data/*.tif' warning: no files found matching 'tests/data/*.apng' warning: no previously-included files found matching 'tests/data/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/data/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/data/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/data/bcn/*.dds' warning: no previously-included files found matching 'tests/data/33792x79872.jpg' warning: no previously-included files found matching 'tests/data/jpegxr.czi' warning: no previously-included files found matching 'tests/data/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/imagecodecs-2025.3.30.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 2.3.2) 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" Handling pytest; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pytest; extra == "test" Handling tifffile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile; extra == "test" Handling czifile; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: czifile; extra == "test" Handling blosc; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc; extra == "test" Handling blosc2; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: blosc2; extra == "test" Handling zstd; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zstd; extra == "test" Handling lz4; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: lz4; extra == "test" Handling pyliblzfse; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: pyliblzfse; extra == "test" Handling python-lzf; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-lzf; extra == "test" Handling python-snappy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: python-snappy; extra == "test" Handling bitshuffle; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: bitshuffle; extra == "test" Handling zopflipy; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zopflipy; extra == "test" Handling zarr<3; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: zarr<3; extra == "test" Handling numcodecs; extra == "test" from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs; extra == "test" + cat /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2025.3.30.dist-info/ removed 'imagecodecs-2025.3.30.dist-info/licenses/LICENSE' removed directory 'imagecodecs-2025.3.30.dist-info/licenses' removed 'imagecodecs-2025.3.30.dist-info/METADATA' removed 'imagecodecs-2025.3.30.dist-info/top_level.txt' removed 'imagecodecs-2025.3.30.dist-info/entry_points.txt' removed directory 'imagecodecs-2025.3.30.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.aUCdXW + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-2025.3.30 + export CPPFLAGS=-I/usr/include/cfitsio + CPPFLAGS=-I/usr/include/cfitsio + export PYTHONPATH=. + PYTHONPATH=. + mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir Processing /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info writing /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching 'imagecodecs/_*.c' 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/data/*.txt' warning: no files found matching 'tests/data/*.zfp' warning: no files found matching 'tests/data/*.icc' warning: no files found matching 'tests/data/*.jxl' warning: no files found matching 'tests/data/*.tif' warning: no files found matching 'tests/data/*.apng' warning: no previously-included files found matching 'tests/data/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/data/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/data/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/data/bcn/*.dds' warning: no previously-included files found matching 'tests/data/33792x79872.jpg' warning: no previously-included files found matching 'tests/data/jpegxr.czi' warning: no previously-included files found matching 'tests/data/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-modern-metadata-ef4939ix/imagecodecs-2025.3.30.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/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/numcodecs.py -> build/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/imagecodecs.py -> build/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/_imagecodecs.py -> build/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/__main__.py -> build/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/__init__.py -> build/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/__init__.pyi -> build/lib.linux-s390x-cpython-314/imagecodecs copying imagecodecs/py.typed -> build/lib.linux-s390x-cpython-314/imagecodecs creating build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/PATENTS-rav1e -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zstd -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zopfli -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib-ng -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zfp -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-sz3 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-svt-av1 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-sperr -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-snappy -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-rav1e -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-qoi -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-postgresql -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-pcodec -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-openjpeg -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-netcdf-c -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-mozjpeg -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzokay -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzham -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzfse -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzf -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lz4 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libyuv -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libxml2 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libwebp -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libultrahdr -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libtiff -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libspng -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libpng -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libmng -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblzma -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblj92 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjxs -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjxl -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libdeflate -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaivf -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaec -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lerc -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lcms2 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jxrlib -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpeg -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jetraw -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-highway -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-heif -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-hdf5 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-giflib -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-fastlz -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-dav1d -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-charls -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-cfitsio -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bzip2 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brunsli -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brotli -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc2 -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bitshuffle -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bcdec -> build/lib.linux-s390x-cpython-314/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-aom -> build/lib.linux-s390x-cpython-314/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-314/imagecodecs gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_aec.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_aec.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_aec.o -L/usr/lib64 -lm -laec -o build/lib.linux-s390x-cpython-314/imagecodecs/_aec.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_avif.pyx because it changed. [1/1] Cythonizing imagecodecs/_avif.pyx building 'imagecodecs._avif' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_avif.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_avif.o imagecodecs/_avif.c: In function ‘__pyx_pf_11imagecodecs_5_avif_6avif_decode.isra.0’: imagecodecs/_avif.c:25907:56: warning: ‘__pyx_v_size’ may be used uninitialized [-Wmaybe-uninitialized] 25907 | __pyx_v_rgb.pixels = (__pyx_v_rgb.pixels + __pyx_v_size); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ imagecodecs/_avif.c:23917:14: note: ‘__pyx_v_size’ was declared here 23917 | Py_ssize_t __pyx_v_size; | ^~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_avif.o -L/usr/lib64 -lm -lavif -o build/lib.linux-s390x-cpython-314/imagecodecs/_avif.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_blosc.pyx because it changed. [1/1] Cythonizing imagecodecs/_blosc.pyx building 'imagecodecs._blosc' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_blosc.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_blosc.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_blosc.o -L/usr/lib64 -lm -lblosc -o build/lib.linux-s390x-cpython-314/imagecodecs/_blosc.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_blosc2.pyx because it changed. [1/1] Cythonizing imagecodecs/_blosc2.pyx building 'imagecodecs._blosc2' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_blosc2.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_blosc2.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_blosc2.o -L/usr/lib64 -lm -lblosc2 -o build/lib.linux-s390x-cpython-314/imagecodecs/_blosc2.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_bmp.pyx because it changed. [1/1] Cythonizing imagecodecs/_bmp.pyx building 'imagecodecs._bmp' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_bmp.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_bmp.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_bmp.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-314/imagecodecs/_bmp.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_brotli.pyx because it changed. [1/1] Cythonizing imagecodecs/_brotli.pyx building 'imagecodecs._brotli' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_brotli.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_brotli.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_brotli.o -L/usr/lib64 -lm -lbrotlienc -lbrotlidec -lbrotlicommon -o build/lib.linux-s390x-cpython-314/imagecodecs/_brotli.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_bz2.pyx because it changed. [1/1] Cythonizing imagecodecs/_bz2.pyx building 'imagecodecs._bz2' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_bz2.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_bz2.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_bz2.o -L/usr/lib64 -lm -lbz2 -o build/lib.linux-s390x-cpython-314/imagecodecs/_bz2.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_cms.pyx because it changed. [1/1] Cythonizing imagecodecs/_cms.pyx building 'imagecodecs._cms' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_cms.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_cms.o In file included from imagecodecs/_cms.c:1544: /usr/include/python3.14/structmember.h:27:9: warning: ‘T_FLOAT’ redefined 27 | #define T_FLOAT Py_T_FLOAT | ^~~~~~~ In file included from imagecodecs/_cms.c:1161: /usr/include/lcms2.h:707:9: note: this is the location of the previous definition 707 | #define T_FLOAT(a) (((a)>>22)&1) | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_cms.o -L/usr/lib64 -lm -llcms2 -o build/lib.linux-s390x-cpython-314/imagecodecs/_cms.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_deflate.pyx because it changed. [1/1] Cythonizing imagecodecs/_deflate.pyx building 'imagecodecs._deflate' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_deflate.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_deflate.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_deflate.o -L/usr/lib64 -lm -ldeflate -o build/lib.linux-s390x-cpython-314/imagecodecs/_deflate.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_gif.pyx because it changed. [1/1] Cythonizing imagecodecs/_gif.pyx building 'imagecodecs._gif' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_gif.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_gif.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_gif.o -L/usr/lib64 -lm -lgif -o build/lib.linux-s390x-cpython-314/imagecodecs/_gif.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_heif.pyx because it changed. [1/1] Cythonizing imagecodecs/_heif.pyx building 'imagecodecs._heif' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_heif.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_heif.o imagecodecs/_heif.c:28528:12: warning: ‘__pyx_f_11imagecodecs_5_heif_output_seek’ defined but not used [-Wunused-function] 28528 | static int __pyx_f_11imagecodecs_5_heif_output_seek(__pyx_t_11imagecodecs_5_heif_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_heif.o -L/usr/lib64 -lm -lheif -o build/lib.linux-s390x-cpython-314/imagecodecs/_heif.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_imcd.pyx because it changed. [1/1] Cythonizing imagecodecs/_imcd.pyx building 'imagecodecs._imcd' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_imcd.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_imcd.o gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/imcd.c -o build/temp.linux-s390x-cpython-314/imagecodecs/imcd.o imagecodecs/imcd.c: In function ‘imcd_ccittrle_decode’: imagecodecs/imcd.c:874:20: warning: unused variable ‘dstend’ [-Wunused-variable] 874 | const uint8_t* dstend = dstptr + dstsize; | ^~~~~~ imagecodecs/imcd.c: In function ‘imcd_packints_encode’: imagecodecs/imcd.c:1122:19: warning: unused variable ‘k’ [-Wunused-variable] 1122 | ssize_t i, j, k; | ^ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_imcd.o build/temp.linux-s390x-cpython-314/imagecodecs/imcd.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-314/imagecodecs/_imcd.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_jpeg8.pyx because it changed. [1/1] Cythonizing imagecodecs/_jpeg8.pyx building 'imagecodecs._jpeg8' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_jpeg8.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_jpeg8.o imagecodecs/_jpeg8.c:24565:12: warning: ‘__pyx_f_11imagecodecs_6_jpeg8__check_range’ defined but not used [-Wunused-function] 24565 | static int __pyx_f_11imagecodecs_6_jpeg8__check_range(PyArrayObject *__pyx_v_data, struct __pyx_opt_args_11imagecodecs_6_jpeg8__check_range *__pyx_optional_args) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_jpeg8.o -L/usr/lib64 -lm -ljpeg -o build/lib.linux-s390x-cpython-314/imagecodecs/_jpeg8.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_jpegxr.pyx because it changed. [1/1] Cythonizing imagecodecs/_jpegxr.pyx building 'imagecodecs._jpegxr' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -D__ANSI__=1 -Iimagecodecs -I/usr/include/jxrlib -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_jpegxr.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_jpegxr.o imagecodecs/_jpegxr.c:29976:18: warning: ‘__pyx_f_11imagecodecs_7_jpegxr__pixelformat_str’ defined but not used [-Wunused-function] 29976 | static PyObject *__pyx_f_11imagecodecs_7_jpegxr__pixelformat_str(PKPixelFormatGUID *__pyx_v_pf) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_jpegxr.o -L/usr/lib64 -lm -ljpegxr -ljxrglue -o build/lib.linux-s390x-cpython-314/imagecodecs/_jpegxr.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_lerc.pyx because it changed. [1/1] Cythonizing imagecodecs/_lerc.pyx building 'imagecodecs._lerc' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_lerc.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_lerc.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_lerc.o -L/usr/lib64 -lm -lLerc -o build/lib.linux-s390x-cpython-314/imagecodecs/_lerc.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_lz4.pyx because it changed. [1/1] Cythonizing imagecodecs/_lz4.pyx building 'imagecodecs._lz4' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_lz4.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_lz4.o imagecodecs/_lz4.c: In function ‘__pyx_pf_11imagecodecs_4_lz4_10lz4h5_encode’: imagecodecs/_lz4.c:22340:28: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 22340 | (void)(memcpy((&(*((uint8_t const *) ( /* dim=0 */ ((char *) (((uint8_t const *) __pyx_v_dst.data) + __pyx_t_4)) )))), ((char const *)(&(*((uint8_t const *) ( /* dim=0 */ ((char *) (((uint8_t const *) __pyx_v_src.data) + __pyx_t_10)) ))))), __pyx_v_blksize)); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/features.h:524, from /usr/include/assert.h:35, from /usr/include/python3.14/Python.h:19, from imagecodecs/_lz4.c:40: /usr/include/bits/string_fortified.h:26:1: note: expected ‘void *’ but argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’} 26 | __NTH (memcpy (void *__restrict __dest, const void *__restrict __src, | ^~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_lz4.o -L/usr/lib64 -lm -llz4 -o build/lib.linux-s390x-cpython-314/imagecodecs/_lz4.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_lzma.pyx because it changed. [1/1] Cythonizing imagecodecs/_lzma.pyx building 'imagecodecs._lzma' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_lzma.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_lzma.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_lzma.o -L/usr/lib64 -lm -llzma -o build/lib.linux-s390x-cpython-314/imagecodecs/_lzma.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_png.pyx because it changed. [1/1] Cythonizing imagecodecs/_png.pyx building 'imagecodecs._png' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_png.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_png.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_png.o -L/usr/lib64 -lm -lpng -o build/lib.linux-s390x-cpython-314/imagecodecs/_png.cpython-314-s390x-linux-gnu.so warning: imagecodecs/_shared.pyx:95: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 -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_shared.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_shared.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_shared.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-314/imagecodecs/_shared.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_snappy.pyx because it changed. [1/1] Cythonizing imagecodecs/_snappy.pyx building 'imagecodecs._snappy' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_snappy.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_snappy.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_snappy.o -L/usr/lib64 -lm -lsnappy -o build/lib.linux-s390x-cpython-314/imagecodecs/_snappy.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_szip.pyx because it changed. [1/1] Cythonizing imagecodecs/_szip.pyx building 'imagecodecs._szip' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_szip.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_szip.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_szip.o -L/usr/lib64 -lm -lsz -o build/lib.linux-s390x-cpython-314/imagecodecs/_szip.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_tiff.pyx because it changed. [1/1] Cythonizing imagecodecs/_tiff.pyx building 'imagecodecs._tiff' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_tiff.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_tiff.o imagecodecs/_tiff.c:28209:47: warning: ‘__pyx_f_11imagecodecs_5_tiff_memtif_new’ defined but not used [-Wunused-function] 28209 | static __pyx_t_11imagecodecs_5_tiff_memtif_t *__pyx_f_11imagecodecs_5_tiff_memtif_new(toff_t __pyx_v_size, toff_t __pyx_v_inc) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_tiff.o -L/usr/lib64 -lm -ltiff -o build/lib.linux-s390x-cpython-314/imagecodecs/_tiff.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_webp.pyx because it changed. [1/1] Cythonizing imagecodecs/_webp.pyx building 'imagecodecs._webp' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_webp.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_webp.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_webp.o -L/usr/lib64 -lm -lwebp -lwebpdemux -o build/lib.linux-s390x-cpython-314/imagecodecs/_webp.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_zfp.pyx because it changed. [1/1] Cythonizing imagecodecs/_zfp.pyx building 'imagecodecs._zfp' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_zfp.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_zfp.o imagecodecs/_zfp.c: In function ‘__pyx_pf_11imagecodecs_4_zfp_4zfp_encode.isra.0’: imagecodecs/_zfp.c:21721:21: warning: ‘__pyx_v_minbits’ may be used uninitialized [-Wmaybe-uninitialized] 21721 | __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:19917:21: note: ‘__pyx_v_minbits’ was declared here 19917 | __pyx_t_3zfp_uint __pyx_v_minbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21721:21: warning: ‘__pyx_v_maxbits’ may be used uninitialized [-Wmaybe-uninitialized] 21721 | __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:19918:21: note: ‘__pyx_v_maxbits’ was declared here 19918 | __pyx_t_3zfp_uint __pyx_v_maxbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21721:21: warning: ‘__pyx_v_maxprec’ may be used uninitialized [-Wmaybe-uninitialized] 21721 | __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:19919:21: note: ‘__pyx_v_maxprec’ was declared here 19919 | __pyx_t_3zfp_uint __pyx_v_maxprec; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:21721:21: warning: ‘__pyx_v_minexp’ may be used uninitialized [-Wmaybe-uninitialized] 21721 | __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:19920:21: note: ‘__pyx_v_minexp’ was declared here 19920 | __pyx_t_3zfp_uint __pyx_v_minexp; | ^~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_zfp.o -L/usr/lib64 -lm -lzfp -o build/lib.linux-s390x-cpython-314/imagecodecs/_zfp.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_zlib.pyx because it changed. [1/1] Cythonizing imagecodecs/_zlib.pyx building 'imagecodecs._zlib' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_zlib.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_zlib.o imagecodecs/_zlib.c:22893:12: warning: ‘__pyx_f_11imagecodecs_5_zlib_output_seek’ defined but not used [-Wunused-function] 22893 | static int __pyx_f_11imagecodecs_5_zlib_output_seek(__pyx_t_11imagecodecs_5_zlib_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_zlib.o -L/usr/lib64 -lm -lz -o build/lib.linux-s390x-cpython-314/imagecodecs/_zlib.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_zlibng.pyx because it changed. [1/1] Cythonizing imagecodecs/_zlibng.pyx building 'imagecodecs._zlibng' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_zlibng.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_zlibng.o imagecodecs/_zlibng.c:22897:12: warning: ‘__pyx_f_11imagecodecs_7_zlibng_output_seek’ defined but not used [-Wunused-function] 22897 | static int __pyx_f_11imagecodecs_7_zlibng_output_seek(__pyx_t_11imagecodecs_7_zlibng_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_zlibng.o -L/usr/lib64 -lm -lz-ng -o build/lib.linux-s390x-cpython-314/imagecodecs/_zlibng.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_zopfli.pyx because it changed. [1/1] Cythonizing imagecodecs/_zopfli.pyx building 'imagecodecs._zopfli' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/zopfli -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_zopfli.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_zopfli.o gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_zopfli.o -L/usr/lib64 -lm -lzopfli -o build/lib.linux-s390x-cpython-314/imagecodecs/_zopfli.cpython-314-s390x-linux-gnu.so Compiling imagecodecs/_zstd.pyx because it changed. [1/1] Cythonizing imagecodecs/_zstd.pyx building 'imagecodecs._zstd' extension gcc -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 -DNPY_NO_DEPRECATED_API=NPY_1_20_API_VERSION -Iimagecodecs -I/usr/include/python3.14 -I/usr/lib64/python3.14/site-packages/numpy/_core/include -c imagecodecs/_zstd.c -o build/temp.linux-s390x-cpython-314/imagecodecs/_zstd.o imagecodecs/_zstd.c:22008:12: warning: ‘__pyx_f_11imagecodecs_5_zstd_output_seek’ defined but not used [-Wunused-function] 22008 | static int __pyx_f_11imagecodecs_5_zstd_output_seek(__pyx_t_11imagecodecs_5_zstd_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-314/imagecodecs/_zstd.o -L/usr/lib64 -lm -lzstd -o build/lib.linux-s390x-cpython-314/imagecodecs/_zstd.cpython-314-s390x-linux-gnu.so installing to build/bdist.linux-s390x/wheel running install running install_lib creating build/bdist.linux-s390x/wheel creating build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_zstd.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_zopfli.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_zlibng.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_zlib.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_zfp.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_webp.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_tiff.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_szip.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_snappy.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_shared.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_png.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_lzma.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_lz4.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_lerc.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_jpegxr.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_jpeg8.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_imcd.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_heif.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_gif.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_deflate.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_cms.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_bz2.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_brotli.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_bmp.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_blosc2.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_blosc.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_avif.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_aec.cpython-314-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/./imagecodecs creating build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-aom -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-bcdec -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-bitshuffle -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-blosc -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-blosc2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-brotli -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-brunsli -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-bzip2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-cfitsio -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-charls -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-dav1d -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-fastlz -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-giflib -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-hdf5 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-heif -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-highway -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-jetraw -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-jpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-jxrlib -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lcms2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lerc -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libaec -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libaivf -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libdeflate -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libjpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libjxl -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libjxs -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-liblj92 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-liblzma -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libmng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libpng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libspng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libtiff -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libultrahdr -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libwebp -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libxml2 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-libyuv -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lz4 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lzf -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lzfse -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lzham -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-lzokay -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-mozjpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-netcdf-c -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-openjpeg -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-pcodec -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-postgresql -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-qoi -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-rav1e -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-snappy -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-sperr -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-svt-av1 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-sz3 -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-zfp -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-zlib -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-zlib-ng -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-zopfli -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/LICENSE-zstd -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/licenses/PATENTS-rav1e -> build/bdist.linux-s390x/wheel/./imagecodecs/licenses copying build/lib.linux-s390x-cpython-314/imagecodecs/py.typed -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/__init__.pyi -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/__init__.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/__main__.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/_imagecodecs.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/imagecodecs.py -> build/bdist.linux-s390x/wheel/./imagecodecs copying build/lib.linux-s390x-cpython-314/imagecodecs/numcodecs.py -> 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/data/*.txt' warning: no files found matching 'tests/data/*.zfp' warning: no files found matching 'tests/data/*.icc' warning: no files found matching 'tests/data/*.jxl' warning: no files found matching 'tests/data/*.tif' warning: no files found matching 'tests/data/*.apng' warning: no previously-included files found matching 'tests/data/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/data/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/data/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/data/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/data/bcn/*.dds' warning: no previously-included files found matching 'tests/data/33792x79872.jpg' warning: no previously-included files found matching 'tests/data/jpegxr.czi' warning: no previously-included files found matching 'tests/data/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-2025.3.30-py3.14.egg-info running install_scripts creating build/bdist.linux-s390x/wheel/imagecodecs-2025.3.30.dist-info/WHEEL creating '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir/pip-wheel-i7yms8sh/.tmp-rz021ddh/imagecodecs-2025.3.30-cp314-cp314-linux_s390x.whl' and adding 'build/bdist.linux-s390x/wheel' to it adding 'imagecodecs/__init__.py' adding 'imagecodecs/__init__.pyi' adding 'imagecodecs/__main__.py' adding 'imagecodecs/_aec.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_avif.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_blosc.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_blosc2.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_bmp.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_brotli.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_bz2.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_cms.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_deflate.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_gif.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_heif.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_imagecodecs.py' adding 'imagecodecs/_imcd.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_jpeg8.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_jpegxr.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_lerc.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_lz4.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_lzma.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_png.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_shared.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_snappy.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_szip.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_tiff.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_webp.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_zfp.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_zlib.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_zlibng.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_zopfli.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/_zstd.cpython-314-s390x-linux-gnu.so' adding 'imagecodecs/imagecodecs.py' adding 'imagecodecs/numcodecs.py' adding 'imagecodecs/py.typed' adding 'imagecodecs/licenses/LICENSE-aom' adding 'imagecodecs/licenses/LICENSE-bcdec' 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-hdf5' adding 'imagecodecs/licenses/LICENSE-heif' 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-libjxs' 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-libultrahdr' adding 'imagecodecs/licenses/LICENSE-libwebp' adding 'imagecodecs/licenses/LICENSE-libxml2' adding 'imagecodecs/licenses/LICENSE-libyuv' adding 'imagecodecs/licenses/LICENSE-lz4' adding 'imagecodecs/licenses/LICENSE-lzf' adding 'imagecodecs/licenses/LICENSE-lzfse' adding 'imagecodecs/licenses/LICENSE-lzham' adding 'imagecodecs/licenses/LICENSE-lzokay' adding 'imagecodecs/licenses/LICENSE-mozjpeg' adding 'imagecodecs/licenses/LICENSE-netcdf-c' adding 'imagecodecs/licenses/LICENSE-openjpeg' adding 'imagecodecs/licenses/LICENSE-pcodec' adding 'imagecodecs/licenses/LICENSE-postgresql' adding 'imagecodecs/licenses/LICENSE-qoi' adding 'imagecodecs/licenses/LICENSE-rav1e' adding 'imagecodecs/licenses/LICENSE-snappy' adding 'imagecodecs/licenses/LICENSE-sperr' adding 'imagecodecs/licenses/LICENSE-svt-av1' adding 'imagecodecs/licenses/LICENSE-sz3' 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-2025.3.30.dist-info/licenses/LICENSE' adding 'imagecodecs-2025.3.30.dist-info/METADATA' adding 'imagecodecs-2025.3.30.dist-info/WHEEL' adding 'imagecodecs-2025.3.30.dist-info/entry_points.txt' adding 'imagecodecs-2025.3.30.dist-info/top_level.txt' adding 'imagecodecs-2025.3.30.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-2025.3.30-cp314-cp314-linux_s390x.whl size=15984697 sha256=0ed66ee74d5ec392267f3f58004bf286946db2ecd7510f75056a1a4043150323 Stored in directory: /builddir/.cache/pip/wheels/92/c3/e9/c89f165fe5e4b272d6901f9630a14eead1b576b15bef645b1e Successfully built imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xsDQ46 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + '[' /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + mkdir /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-2025.3.30 ++ ls /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir/imagecodecs-2025.3.30-cp314-cp314-linux_s390x.whl ++ xargs basename --multiple ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' + specifier=imagecodecs==2025.3.30 + '[' -z imagecodecs==2025.3.30 ']' + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir imagecodecs==2025.3.30 Using pip 25.1.1 from /usr/lib/python3.14/site-packages/pip (python 3.14) Looking in links: /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/pyproject-wheeldir Processing ./pyproject-wheeldir/imagecodecs-2025.3.30-cp314-cp314-linux_s390x.whl Installing collected packages: imagecodecs Creating /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin/imagecodecs to 755 Successfully installed imagecodecs-2025.3.30 + '[' -d /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin/imagecodecs /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin/imagecodecs: updating + rm -rfv /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib/python3.14/site-packages ']' + '[' /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages '!=' /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib/python3.14/site-packages ']' + '[' -d /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages ']' + site_dirs+=("/usr/lib64/python3.14/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT --record /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info/RECORD --output /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-record + rm -fv /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info/RECORD removed '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info/REQUESTED removed '/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs-2025.3.30.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-files --output-modules /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-modules --buildroot /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT --sitelib /usr/lib/python3.14/site-packages --sitearch /usr/lib64/python3.14/site-packages --python-version 3.14 --pyproject-record /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/python-imagecodecs-2025.3.30-2.fc43.s390x-pyproject-record --prefix /usr imagecodecs + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2025.3.30-2.fc43 --unique-debug-suffix -2025.3.30-2.fc43.s390x --unique-debug-src-base python-imagecodecs-2025.3.30-2.fc43.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30 find-debuginfo: starting Extracting debug info from 28 files DWARF-compressing 28 files sepdebugcrcfix: Updated 28 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-2025.3.30-2.fc43.s390x find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.14 using python3.14 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14 using python3.14 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j2 /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/numcodecs.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/imagecodecs.cpython-314.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/_imagecodecs.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/numcodecs.cpython-314.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/__main__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/__init__.cpython-314.opt-1.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/__pycache__/imagecodecs.cpython-314.pyc: replacing with normalized version Scanned 23 directories and 172 files, processed 7 inodes, 7 modified (4 replaced + 3 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.M1gKy1 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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-2025.3.30 + TEST_OPTS=(--deselect "tests/test_imagecodecs.py::test_cms_identity_transforms" --deselect "tests/test_imagecodecs.py::test_cms" --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_numcodecs[heif-stack]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_index[0]" --deselect "tests/test_imagecodecs.py::test_tiff_index[3]" --deselect "tests/test_imagecodecs.py::test_tiff_index[None]" --deselect "tests/test_imagecodecs.py::test_tiff_index[list]" --deselect "tests/test_imagecodecs.py::test_tiff_index[slice]" --deselect "tests/test_imagecodecs.py::test_tiff_asrgb" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]") + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin + PYTHONPATH=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages:/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib/python3.14/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/.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_cms --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_numcodecs[heif-stack]' --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.14.0rc1, pytest-8.3.5, pluggy-1.6.0 -- /usr/bin/python3 cachedir: .pytest_cache Python 3.14.0rc1 (main, Jul 25 2025, 00:00:00) [GCC 15.1.1 20250521 (Red Hat 15.1.1-2)] packagedir: /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs version: imagecodecs-2025.3.30, cython-3.1.2, numpy-2.3.2, numpy_abi-0x2000000.16, imcd-2025.3.30, apng-n/a, bcn-n/a, bitshuffle-n/a, bmp-2024.1.1, brotli-1.1.0, brunsli-n/a, c-blosc-1.21.6, c-blosc2-2.19.0, dds-n/a, giflib-5.2.2, h5checksum-n/a, imcd-2025.3.30, jetraw-n/a, jpeg2k-n/a, jpegls-n/a, jpegsof3-n/a, jpegxl-n/a, jpegxs-n/a, jxrlib-1.1, lcms2-2.16.0, lerc-4.0.0, libaec-1.0.x, libaec-1.1.4, libavif-1.1.1, libbzip2-1.0.8, libdeflate-1.24, libheif-1.20.1, libjpeg_turbo-3.1.1/6.2, liblzma-5.8.1, libpng-1.6.50, libtiff-4.7.0, libwebp-1.6.0, ljpeg-n/a, lz4-1.10.0, lz4f-n/a, lzf-n/a, lzfse-n/a, lzham-n/a, lzo-n/a, mozjpeg-n/a, pcodec-n/a, pglz-n/a, qoi-n/a, quantize-n/a, rcomp-n/a, rgbe-n/a, snappy-1.2.x, sperr-n/a, spng-n/a, sz3-n/a, ultrahdr-n/a, zfp-1.0.1, zlib-1.3.1.zlib-ng, zlib_ng-2.2.4, zopfli-1.0.x, zstd-1.5.7 dependencies: imagecodecs.py-2025.3.30, numpy-2.3.2, zlib-1.3.1.zlib-ng, bz2-stdlib, lzma-stdlib, blosc-1.11.3, blosc2-3.2.0, zstd-1.5.6.7, 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.16.1, zarr-2.18.7, tifffile-2025.6.11, czifile-n/a, liffile-n/a rootdir: /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30 configfile: pyproject.toml collecting ... collected 11690 items / 373 deselected / 11317 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 (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_avif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_bcn] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_bitshuffle] XFAIL (ima...) [ 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[_bmp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_brunsli] XFAIL (imagec...) [ 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[_h5checksum] XFAIL (ima...) [ 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 (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpeg2k] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpeg8] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegls] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegsof3] XFAIL (image...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegxl] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegxr] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_jpegxs] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lerc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_ljpeg] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lz4] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_lz4f] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzf] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzfse] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzham] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzma] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_lzo] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_mozjpeg] XFAIL (imagec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_pcodec] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_pglz] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_png] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_qoi] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_quantize] XFAIL (image...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_rcomp] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_rgbe] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_snappy] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_sperr] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_spng] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_sz3] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[_szip] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_tiff] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[_ultrahdr] XFAIL (image...) [ 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[liffile] SKIPPED (l...) [ 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_module_attributes 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 [ 0%] 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[encode-29] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-30] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-31] 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[decode-29] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-30] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-31] 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_py[29] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[30] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[31] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_nop PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint8-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint8-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint16-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[encode-uint16-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint8-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint8-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint16-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[decode-uint16-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_encode_axis PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_padbyte PASSED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-0] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-1] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-2] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-3] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-4] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-=-5] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-0] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-1] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-2] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-3] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-4] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False-<-5] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-0] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-1] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-2] FAILED [ 1%] tests/test_imagecodecs.py::test_dicomrle[False->-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[False->-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[False->-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-0] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-1] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-2] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-=-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-0] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-1] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-2] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True-<-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-0] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-1] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-2] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-3] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-4] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle[True->-5] FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle_numcodecs FAILED [ 2%] tests/test_imagecodecs.py::test_dicomrle_raises 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 [ 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 [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-new] PASSED [ 3%] 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 [ 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_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 [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED [ 4%] 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_eer FAILED [ 5%] tests/test_imagecodecs.py::test_eer_superres FAILED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[crc32-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[crc32-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[adler32-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[adler32-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[fletcher32-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[fletcher32-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[lookup3-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[lookup3-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[h5crc-uint8] SKIPPED [ 5%] tests/test_imagecodecs.py::test_checksum_roundtrip[h5crc-float32] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-bitgroom] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-granularbr] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-bitround] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f4-scale] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-bitgroom] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-granularbr] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-bitround] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_roundtrip[f8-scale] SKIPPED [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f4-1] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f4-4] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f8-1] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_bitround[f8-4] SKIPPED (QUA...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f4-1] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f4-4] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f8-1] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_quantize_scale[f8-4] SKIPPED (QUANTI...) [ 5%] tests/test_imagecodecs.py::test_checksum_fletcher32 SKIPPED (H5CHECK...) [ 5%] tests/test_imagecodecs.py::test_checksum_lookup3 SKIPPED (H5CHECKSUM...) [ 5%] tests/test_imagecodecs.py::test_h5checksum_lookup3 SKIPPED (H5CHECKS...) [ 5%] tests/test_imagecodecs.py::test_h5checksum_other SKIPPED (H5CHECKSUM...) [ 5%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-crc32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-crc32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-adler32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlib-adler32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-crc32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-crc32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-adler32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[zlibng-adler32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-crc32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-crc32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-adler32-None] PASSED [ 6%] tests/test_imagecodecs.py::test_zlib_checksums[deflate-adler32-2] PASSED [ 6%] tests/test_imagecodecs.py::test_lzo_decode SKIPPED (LZO missing) [ 6%] tests/test_imagecodecs.py::test_lzo_numcodecs SKIPPED (zarr or numco...) [ 6%] tests/test_imagecodecs.py::test_lzw_corrupt PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_msb PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[new] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[size] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[ndarray] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode[bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_lzw_decode_image_noeoi PASSED [ 6%] tests/test_imagecodecs.py::test_lz4h5 FAILED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-bytearray] SKIPPED [ 6%] 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 [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-trunc] PASSED [ 7%] 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 [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-excess] PASSED [ 8%] 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 [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-0-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-2-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-encode-3069-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-0-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-2-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-new] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-bytearray] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-out] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-decode-3069-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h5-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 [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-bytearray] SKIPPED [ 10%] 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 [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-trunc] PASSED [ 11%] 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[szip-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[szip-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 [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-size] PASSED [ 12%] 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 [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-size] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-excess] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-trunc] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-new] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-bytearray] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-out] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-size] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-excess] PASSED [ 13%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-trunc] PASSED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-bytes] SKIPPED [ 13%] 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[p512n32] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n31] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n30] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n29] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n28] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n27] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n26] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n25] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n24] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n23] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n22] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n21] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n20] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n19] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n18] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n17] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n16] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n15] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n14] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n13] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n12] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n11] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n10] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n09] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n08] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n07] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n06] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n05] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n04-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n04-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n03-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n03-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n02-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n02-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n01-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n01-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_bcn[bc1-1-shape0] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc2-2-shape1] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc3-3-shape2] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc4-4-shape3] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc5-5-shape4] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[bc6hs--6-shape5] SKIPPED (bcn mi...) [ 14%] tests/test_imagecodecs.py::test_bcn[bc7-7-shape6] SKIPPED (bcn missing) [ 14%] tests/test_imagecodecs.py::test_bcn[cubemap-1-shape7] SKIPPED (bcn m...) [ 14%] tests/test_imagecodecs.py::test_szip_canonical FAILED [ 14%] tests/test_imagecodecs.py::test_szip_params PASSED [ 14%] tests/test_imagecodecs.py::test_zstd_stream FAILED [ 14%] tests/test_imagecodecs.py::test_lzf_exceptions SKIPPED (lzf missing) [ 14%] tests/test_imagecodecs.py::test_pglz SKIPPED (pglz missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u1] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u2] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u4] SKIPPED (rcomp missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[4-i1] SKIPPED (rcomp missing) [ 15%] tests/test_imagecodecs.py::test_rcomp[4-i2] SKIPPED (rcomp missing) [ 15%] tests/test_imagecodecs.py::test_rcomp[4-i4] SKIPPED (rcomp missing) [ 15%] tests/test_imagecodecs.py::test_jetraw SKIPPED (jetraw missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[uint16] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[uint32] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[int32] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[int64] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[float32] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[float64] SKIPPED (pcodec missing) [ 15%] tests/test_imagecodecs.py::test_pcodec[float16] SKIPPED (pcodec 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_bmpsuite[name0] SKIPPED (got empty p...) [ 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] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-True] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-False] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-True] PASSED [ 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] FAILED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[out] FAILED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[bytearray] FAILED [ 16%] tests/test_imagecodecs.py::test_jpeg_rgb_mode PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg_bitspersample PASSED [ 16%] tests/test_imagecodecs.py::test_mozjpeg SKIPPED (mozjpeg missing) [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-jpeg8] PASSED [ 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-jpeg8] 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-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-jpeg8] PASSED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-jpeg8] XFAIL [ 16%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-jpeg8] XFAIL [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-jpeg8] PASSED [ 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-jpeg8] PASSED [ 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-jpeg8] PASSED [ 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-jpeg8] PASSED [ 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-jpeg8] PASSED [ 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-jpeg8] PASSED [ 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-jpeg8] PASSED [ 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-jpeg8] 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-jpeg8] 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-jpeg8] 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-jpeg8] 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-jpeg8] 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-jpeg8] 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-jpeg8] 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-jpeg8] 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-jpeg8] PASSED [ 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-jpeg8] XFAIL [ 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[jpeg8-gray8.ljp-new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray8.ljp-out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray8.ljp-bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray16.ljp-new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray16.ljp-out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpeg8-gray16.ljp-bytearray] PASSED [ 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_jpegxl_transcode SKIPPED (jpegxl or ...) [ 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_animated[0] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_animated[10] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_animated[-2] 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 [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-None] FAILED [ 18%] 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 [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] FAILED [ 18%] 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 [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED [ 19%] 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 [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED [ 20%] 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 [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED [ 21%] 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 [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-new-new] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-new-out] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-new-bytearray] SKIPPED [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-out-new] SKIPPED (s...) [ 22%] tests/test_imagecodecs.py::test_sz3[float32-rgba-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-rgba-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-rgba-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-rgba-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-rgba-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-view-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-gray-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float32-line-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-rgba-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-view-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-gray-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-new-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-new-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-out-new] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-out-out] SKIPPED (s...) [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sz3[float64-line-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_decode[new] SKIPPED (ultrah...) [ 23%] tests/test_imagecodecs.py::test_ultrahdr_decode[out] SKIPPED (ultrah...) [ 23%] tests/test_imagecodecs.py::test_ultrahdr_decode[bytearray] SKIPPED (...) [ 23%] tests/test_imagecodecs.py::test_ultrahdr SKIPPED (ultrahdr missing) [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-new-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-new-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-new-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-out-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-out-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-out-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-bytearray-new] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-bytearray-out] SKIPPED [ 23%] tests/test_imagecodecs.py::test_ultrahdr_roundtrip[rgba-bytearray-bytearray] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-new-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-out-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-gray-bytearray-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-new-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-out-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-out-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-out-out-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-new-bpp] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-new-psnr] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-new-pwe] SKIPPED [ 23%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-True-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-gray-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float32-False-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-gray-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-True-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-gray-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-new-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-out-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-new-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-new-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-new-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-out-bpp] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-out-psnr] SKIPPED [ 24%] tests/test_imagecodecs.py::test_sperr[float64-False-stack-bytearray-out-pwe] SKIPPED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] FAILED [ 28%] 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 [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] FAILED [ 29%] 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 [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED [ 30%] 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 [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED [ 31%] 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 [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED [ 32%] 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 [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED [ 33%] 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 [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED [ 34%] 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_samples SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_realloc SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_trailing_bytes SKIPPED (jpeg2...) [ 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 [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-0.4] PASSED [ 35%] 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 [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-None] PASSED [ 36%] 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 [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-90] PASSED [ 36%] 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 [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-None] PASSED [ 37%] 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 [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-0.4] PASSED [ 38%] 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_jpegxs[None-uint8] SKIPPED (jpegxs m...) [ 39%] tests/test_imagecodecs.py::test_jpegxs[None-uint16] SKIPPED (jpegxs ...) [ 39%] tests/test_imagecodecs.py::test_jpegxs[p=MLS.12;nlx=2;nly=2-uint8] SKIPPED [ 39%] tests/test_imagecodecs.py::test_jpegxs[p=MLS.12;nlx=2;nly=2-uint16] SKIPPED [ 39%] tests/test_imagecodecs.py::test_jpegxs_fail SKIPPED (jpegxs missing) [ 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_strided[jpeg] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[png] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[webp] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[jpegxl] SKIPPED (jpegx...) [ 39%] tests/test_imagecodecs.py::test_image_strided[jpeg2k] SKIPPED (jpeg2...) [ 39%] tests/test_imagecodecs.py::test_image_strided[jpegxr] PASSED [ 39%] tests/test_imagecodecs.py::test_image_strided[avif] PASSED [ 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 [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new-5] SKIPPED [ 39%] 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 [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view-None] SKIPPED [ 40%] 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 [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new-None] SKIPPED [ 41%] 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 [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-None] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-5] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view--1] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-None] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-5] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view--1] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-None] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-5] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view--1] XFAIL [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new--1] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-None] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-5] PASSED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out--1] PASSED [ 42%] 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 [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out--1] PASSED [ 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] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-None] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out-None] XFAIL [ 44%] 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 [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-None] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-5] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new--1] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-None] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-5] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out--1] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-None] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-5] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray--1] FAILED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-new-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-out-5] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-bytearray-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-bytearray-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-out-bytearray--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgba-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-view-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray--1] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-new-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-new-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-new--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-out-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-out-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-out--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-bytearray-None] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-bytearray-5] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-out-bytearray--1] PASSED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-None] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-5] FAILED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new--1] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-None] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-5] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out--1] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-None] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-5] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray--1] FAILED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-new-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-out-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-graya-bytearray-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-new-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-out-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgb-bytearray-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-new-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-view--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-bytearray-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-bytearray-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-out-bytearray--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-new-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-new-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-new--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-out-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-out-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-out--1] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-view-None] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-view-5] XFAIL [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-rgba-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-new-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-out-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-view-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-new-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-out-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-gray-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-new-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-out-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-new-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-new-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-new--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-out-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-out-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-out--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-view-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-view-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-view--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-bytearray-None] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-bytearray-5] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint16-graya-bytearray-bytearray--1] XFAIL [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-5] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new--1] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-None] SKIPPED [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-None] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-5] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray--1] SKIPPED [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-new-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-new-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-new--1] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-out-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-out-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-out--1] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-view-None] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-view-5] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-view--1] XFAIL [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-bytearray-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-bytearray-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-new-bytearray--1] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-new-None] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-new-5] PASSED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-out-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgb-bytearray-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-new-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-out-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-rgba-bytearray-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-new-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-new-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-new--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-out-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-out-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-out--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-bytearray-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-bytearray-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-new-bytearray--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-new-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-new-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-new--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-out-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-out-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-out--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-bytearray-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-bytearray-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-out-bytearray--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-new-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-new-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-new--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-out-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-out-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-out--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-bytearray-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-bytearray-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-view-bytearray-bytearray--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-view-5] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-view--1] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-bytearray-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-bytearray-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-new-bytearray--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-new-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-new-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-new--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-out-None] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-out-5] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-out--1] PASSED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-view-None] XFAIL [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-out-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-gray-bytearray-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-new-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-new-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-new--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-out-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-out-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-out--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-bytearray-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-bytearray-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-new-bytearray--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-new-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-new-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-new--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-out-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-out-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-out--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-bytearray-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-bytearray-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-out-bytearray--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-new-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-new-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-new--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-out-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-out-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-out--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-bytearray-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-bytearray-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint8-graya-bytearray-bytearray--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-new-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-out-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgb-bytearray-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-new-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-new-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-new-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-new--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-out-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-out-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-out--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-view-None] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-view-5] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-view--1] XFAIL [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-bytearray-None] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-bytearray-5] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-out-bytearray--1] PASSED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-rgba-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-new-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-out-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-view-bytearray-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-new-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-gray-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-new-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-out-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg_lossless-uint16-graya-bytearray-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view--1] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-None] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-5] SKIPPED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-5] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new--1] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-None] SKIPPED [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-None] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-5] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray--1] PASSED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray--1] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-None] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-5] XFAIL [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-5] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view--1] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-None] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-5] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out--1] PASSED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-None] XFAIL [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-None] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-5] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view--1] XFAIL [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-None] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-5] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray--1] PASSED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-None] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-None] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-None] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-5] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray--1] PASSED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view--1] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-None] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-5] XFAIL [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray--1] XFAIL [ 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 [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 65%] 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 [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray-5] SKIPPED [ 65%] 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 [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out-None] SKIPPED [ 66%] 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 [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view--1] SKIPPED [ 67%] 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 [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-5] SKIPPED [ 68%] 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 [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view-None] SKIPPED [ 69%] 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 [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-None] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-5] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view--1] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-None] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-5] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view--1] XFAIL [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-None] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-5] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray--1] PASSED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new-None] PASSED [ 70%] 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 [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out--1] PASSED [ 71%] 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 [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-5] PASSED [ 72%] 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 [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-new-None] SKIPPED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-new-5] SKIPPED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-new--1] SKIPPED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-out-None] SKIPPED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-new-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-out-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-new-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-out-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-new-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-out-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-bytearray-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-bytearray-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-view-bytearray-bytearray--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-new-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-new-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-new--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-out-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-out-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-out--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-view-None] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-view-5] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-view--1] SKIPPED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-gray-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint8-graya-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-view-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-gray-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxs-uint16-graya-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-None] PASSED [ 85%] 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 [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-None] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-5] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray--1] PASSED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view--1] SKIPPED [ 86%] 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 [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-None] SKIPPED [ 87%] 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 [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out--1] SKIPPED [ 88%] 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 [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-None] SKIPPED [ 89%] 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 [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-5] SKIPPED [ 90%] 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 [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-None] SKIPPED [ 91%] 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 [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-5] SKIPPED [ 92%] 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 [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-5] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view--1] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-None] PASSED [ 93%] 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 [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-5] PASSED [ 93%] 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 [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-5] XFAIL [ 94%] 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 [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray-None] XFAIL [ 95%] 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[rgba.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.zstd.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.zstd.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.webp.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.webp.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.png.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.png.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.packbits.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.packbits.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzw.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzw.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzma.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzma.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxr.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxr.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxl.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpegxl.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg2000.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg2000.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u2-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u2-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-False] FAILED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u2-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u2-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u1-True] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.u8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.u4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.none.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.none.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-False] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-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.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.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.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.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.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.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.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.f8-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.f2-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.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.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.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.i8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f2-True] PASSED [ 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.depth.deflate.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.deflate.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.c8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.c16-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.b1-False] XFAIL (not...) [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.b1-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 [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2-<] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2->] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2-<] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2->] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4-<] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4->] XFAIL (dty...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1-<] XFAIL (webp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1->] XFAIL (webp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2-<] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2->] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2-<] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2->] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4-<] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4->] XFAIL (dtyp...) [ 97%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] FAILED [ 97%] 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 [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile_ljpeg[u1] SKIPPED (tifffile...) [ 98%] tests/test_imagecodecs.py::test_czifile SKIPPED (czifile missing) [ 98%] tests/test_imagecodecs.py::test_liffile SKIPPED (liffile missing) [ 98%] tests/test_imagecodecs.py::test_numcodecs_register PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[aec-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[aec-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[aec-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[apng-gray] SKIPPED (apng n...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[apng-rgb] SKIPPED (apng no...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[apng-stack] SKIPPED (apng ...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[avif-gray] XFAIL (AVIF doe...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[avif-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[avif-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitorder-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitorder-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitorder-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-gray] SKIPPED (...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-rgb] SKIPPED (b...) [ 98%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-stack] SKIPPED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc2-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc2-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[blosc2-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bmp-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bmp-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bmp-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bz2-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bz2-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[bz2-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[deflate-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[deflate-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[deflate-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[delta-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[delta-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[delta-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[float24-gray] FAILED [ 98%] tests/test_imagecodecs.py::test_numcodecs[float24-rgb] FAILED [ 98%] tests/test_imagecodecs.py::test_numcodecs[float24-stack] FAILED [ 98%] tests/test_imagecodecs.py::test_numcodecs[floatpred-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[floatpred-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[floatpred-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[gif-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[gif-rgb] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[gif-stack] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[lz4h5-gray] PASSED [ 98%] tests/test_imagecodecs.py::test_numcodecs[lz4h5-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4h5-stack] 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[jpeg-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-stack] PASSED [ 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[jpeg2k-stack] SKIPPED (jpe...) [ 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[jpegls-stack] SKIPPED (jpe...) [ 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[jpegxl-stack] SKIPPED (jpe...) [ 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[jpegxr-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxs-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxs-rgb] SKIPPED (jpegx...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxs-stack] SKIPPED (jpe...) [ 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[lerc-stack] 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[ljpeg-stack] SKIPPED (ljpe...) [ 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[lz4-stack] 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[lz4f-stack] SKIPPED (lz4f ...) [ 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[lzf-stack] SKIPPED (lzf no...) [ 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[lzfse-stack] SKIPPED (lzfs...) [ 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[lzham-stack] SKIPPED (lzha...) [ 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[lzma-stack] 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[lzw-stack] 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[packbits-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[pcodec-gray] SKIPPED (pcod...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pcodec-rgb] SKIPPED (pcode...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pcodec-stack] SKIPPED (pco...) [ 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[pglz-stack] SKIPPED (pglz ...) [ 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[png-stack] 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[qoi-stack] SKIPPED (qoi no...) [ 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[rgbe-stack] SKIPPED (rgbe ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-gray] SKIPPED (rcomp...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-rgb] SKIPPED (rcomp ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-stack] SKIPPED (rcom...) [ 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[snappy-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[sperr-gray] SKIPPED (sperr...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sperr-rgb] SKIPPED (sperr ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sperr-stack] SKIPPED (sper...) [ 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[spng-stack] SKIPPED (spng ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sz3-gray] SKIPPED (sz3 not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sz3-rgb] SKIPPED (sz3 not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[sz3-stack] SKIPPED (sz3 no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[szip-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[szip-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[szip-stack] PASSED [ 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[tiff-stack] XFAIL (TIFF en...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ultrahdr-gray] SKIPPED (ul...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ultrahdr-rgb] SKIPPED (ult...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ultrahdr-stack] SKIPPED (u...) [ 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[webp-stack] 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[xor-stack] 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[zfp-stack] 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[zlib-stack] 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[zlibng-stack] 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[zopfli-stack] 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_numcodecs[zstd-stack] PASSED [ 99%] tests/test_imagecodecs.py::test_jpeg8_large SKIPPED (large file not ...) [100%] =================================== FAILURES =================================== _____________________________ test_packints_decode _____________________________ @pytest.mark.skipif( not imagecodecs.PACKINTS.available, reason='Packints missing' ) def test_packints_decode(): """Test PackInts decoder.""" decode = imagecodecs.packints_decode decoded = decode(b'', 'B', 1) assert len(decoded) == 0 decoded = decode(b'a', 'B', 1) assert tuple(decoded) == (0, 1, 1, 0, 0, 0, 0, 1) decoded = decode(b'ab', 'B', 2) assert tuple(decoded) == (1, 2, 0, 1, 1, 2, 0, 2) decoded = decode(b'abcd', 'B', 3) > assert tuple(decoded) == (3, 0, 2, 6, 1, 1, 4, 3, 3, 1) E AssertionError: assert (np.uint8(0),...uint8(0), ...) == (3, 0, 2, 6, 1, 1, ...) E E At index 0 diff: np.uint8(0) != 3 E E Full diff: E ( E - 3, E - 0,... E E ...Full output truncated (19 lines hidden), use '-vv' to show tests/test_imagecodecs.py:402: AssertionError ___________________________ test_dicomrle[False-=-0] ___________________________ data = 0, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\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\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-=-1] ___________________________ data = 1, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-=-2] ___________________________ data = 2, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-=-3] ___________________________ data = 3, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-=-4] ___________________________ data = 4, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-=-5] ___________________________ data = 5, byteorder = '=', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-<-0] ___________________________ data = 0, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\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\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-<-1] ___________________________ data = 1, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-<-2] ___________________________ data = 2, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-<-3] ___________________________ data = 3, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-<-4] ___________________________ data = 4, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False-<-5] ___________________________ data = 5, byteorder = '<', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False->-0] ___________________________ data = 0, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\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\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False->-1] ___________________________ data = 1, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False->-2] ___________________________ data = 2, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False->-3] ___________________________ data = 3, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False->-4] ___________________________ data = 4, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[False->-5] ___________________________ data = 5, byteorder = '>', output = False @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-=-0] ____________________________ data = 0, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\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\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-=-1] ____________________________ data = 1, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-=-2] ____________________________ data = 2, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-=-3] ____________________________ data = 3, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-=-4] ____________________________ data = 4, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-=-5] ____________________________ data = 5, byteorder = '=', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-<-0] ____________________________ data = 0, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\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\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-<-1] ____________________________ data = 1, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-<-2] ____________________________ data = 2, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-<-3] ____________________________ data = 3, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-<-4] ____________________________ data = 4, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True-<-5] ____________________________ data = 5, byteorder = '<', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True->-0] ____________________________ data = 0, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\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\x05\x00@\x80\xa0\xc0\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True->-1] ____________________________ data = 1, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x03\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00@\x80\xa0\xc0\xff\x05\xff\xc0\x80@\x00\xff\x05\x01@\x80\xa0\xc0\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True->-2] ____________________________ data = 2, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x02\x00\x00\x00@\x00\x00\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True->-3] ____________________________ data = 3, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x06\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x00\x01\x00\xff\x00\xff\x05\xff\x00\x01\x00\xff\x00\x05\xff\x01\x00\xff\x00\x00\x05\x00\x00\x01\x00\xff\xff\x05\x01\x01\x00\xff\x00\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True->-4] ____________________________ data = 4, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x04\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle[True->-5] ____________________________ data = 5, byteorder = '>', output = True @pytest.mark.skipif( not imagecodecs.DICOMRLE.available, reason='DICOMRLE missing' ) @pytest.mark.parametrize('data', range(len(DICOMRLE_DATA))) @pytest.mark.parametrize('byteorder', ['=', '<', '>']) @pytest.mark.parametrize('output', [False, True]) def test_dicomrle(data, byteorder, output): """Test DICOMRLE decoding.""" encoded, result = DICOMRLE_DATA[data] out = result.nbytes if output else None dtype = byteorder + result.dtype.char > assert imagecodecs.dicomrle_check(encoded) E AssertionError: assert False E + where False = (b'\x0c\x00\x00\x00@\x00\x00\x00G\x00\x00\x00N\x00\x00\x00U\x00\x00\x00\\\x00\x00\x00c\x00\x00\x00j\x00\x00\x00q\x00\x00\x00x\x00\x00\x00\x7f\x00\x00\x00\x86\x00\x00\x00\x8d\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x00\x00\x00\x00\x01\xff\x05\xff\x01\x00\x00\x00\x00\x05\xff\x00\x01\x00\x00\x00\x05\xff\x00\x00\x01\x00\x00\x05\xff\x00\x00\x00\x01\x00\x05\x00\x01\x00\x00\x00\xff\x05\x00\x00\x01\x00\x00\xff\x05\x00\x00\x00\x01\x00\xff\x05\x01\x00\x00\x00\x01\xfe') E + where = imagecodecs.dicomrle_check tests/test_imagecodecs.py:670: AssertionError ___________________________ test_dicomrle_numcodecs ____________________________ @pytest.mark.skipif( not imagecodecs.DICOMRLE.available or SKIP_NUMCODECS, reason='zarr or numcodecs missing', ) def test_dicomrle_numcodecs(): """Test DICOMRLE decoding with numcodecs.""" from imagecodecs.numcodecs import Dicomrle encoded, result = DICOMRLE_DATA[-1] > decoded = Dicomrle(dtype=' raise ValueError(f'invalid DICOM RLE {header.segments=}') E ValueError: invalid DICOM RLE header.segments=201326592 imagecodecs/_imcd.pyx:900: ValueError _____________________ test_floatpred[False-be-encode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 1.68812e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E DESIRED: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... tests/test_imagecodecs.py:889: AssertionError _____________________ test_floatpred[False-be-encode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 1.68812e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E DESIRED: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... tests/test_imagecodecs.py:898: AssertionError _____________________ test_floatpred[False-be-decode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E DESIRED: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... tests/test_imagecodecs.py:887: AssertionError _____________________ test_floatpred[False-be-decode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E DESIRED: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... tests/test_imagecodecs.py:894: AssertionError ______________________ test_floatpred[True-be-encode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 2.12843e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E DESIRED: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... tests/test_imagecodecs.py:931: AssertionError ______________________ test_floatpred[True-be-encode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference among violations: 2.12843e+38 E Max relative difference among violations: inf E ACTUAL: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E DESIRED: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... tests/test_imagecodecs.py:940: AssertionError ______________________ test_floatpred[True-be-decode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E DESIRED: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... tests/test_imagecodecs.py:929: AssertionError ______________________ test_floatpred[True-be-decode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif( not imagecodecs.FLOATPRED.available, 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) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E DESIRED: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... tests/test_imagecodecs.py:936: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x80\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x00\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x00\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'?\x00\x00' E E At index 0 diff: b'\x00' != b'?' E E Full diff: E - b'?\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xbf\x00\x00' E E At index 0 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\xbf\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xf6\x1e\x92' == b'@\x92 ' E E At index 0 diff: b'\xf6' != b'@' E E Full diff: E - b'@\x92 ' E + b'\xf6\x1e\x92' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'T=\xd8' == b'\x00v\x0f' E E At index 0 diff: b'T' != b'\x00' E E Full diff: E - b'\x00v\x0f' E + b'T=\xd8' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x80\x00\x0e' == b'\x7f\x00\x00' E E At index 0 diff: b'\x80' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ ^ E + b'\x80\x00\x0e' E ? ^^ ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xff\x80\x00' == b'\x00\x80\x00' E E At index 0 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\xff\x80\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x7f' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x7f' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x7f' E E At index 2 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x00\x00\x7f' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xff' E E At index 2 diff: b'\x00' != b'\xff' E E Full diff: E - b'\x00\x00\xff' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00?' E E At index 2 diff: b'\x00' != b'?' E E Full diff: E - b'\x00\x00?' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xbf' E E At index 2 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\x00\x00\xbf' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x92\x1e\xf6' == b' \x92@' E E At index 0 diff: b'\x92' != b' ' E E Full diff: E - b' \x92@' E + b'\x92\x1e\xf6' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xd8=T' == b'\x0fv\x00' E E At index 0 diff: b'\xd8' != b'\x0f' E E Full diff: E - b'\x0fv\x00' E + b'\xd8=T' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0e\x00\x80' == b'\x00\x00\x7f' E E At index 0 diff: b'\x0e' != b'\x00' E E Full diff: E - b'\x00\x00\x7f' E + b'\x0e\x00\x80' tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x80\xff' == b'\x00\x80\x00' E E At index 2 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\x00\x80\xff' E ? ^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:1016: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:1008: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:1008: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:1008: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:1010: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6275e-41) == -inf tests/test_imagecodecs.py:1010: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6006e-41) - 1.0)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6185e-41) - -1.0)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1416016) < 4e-08 E + where np.float32(3.1416016) = abs((np.float32(1.495645e-39) - 3.1416016)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:1010: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:1008: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:1008: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert np.False_ tests/test_imagecodecs.py:1008: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:1010: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6275e-41) == -inf tests/test_imagecodecs.py:1010: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6006e-41) - 1.0)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(1.0) < 4e-08 E + where np.float32(1.0) = abs((np.float32(4.6185e-41) - -1.0)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1416016) < 4e-08 E + where np.float32(3.1416016) = abs((np.float32(1.495645e-39) - 3.1416016)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert np.float32(3.1415839e-06) < 4e-08 E + where np.float32(3.1415839e-06) = abs((np.float32(1.9498617e-38) - 3.1415839e-06)) tests/test_imagecodecs.py:1012: 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.available, reason='Float24 missing' ) @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in {-numpy.inf, numpy.inf}: > assert f3_decoded == f3_expected E assert np.float32(4.6096e-41) == inf tests/test_imagecodecs.py:1010: AssertionError ___________________________________ test_eer ___________________________________ @pytest.mark.skipif(not imagecodecs.EER.available, reason='EER missing') def test_eer(): """Test EER decoder.""" encoded = b'\x03\x1b\xfc\xb1\x35\xfb' # from EER specification assert imagecodecs.eer_check(encoded) is None > im = imagecodecs.eer_decode(encoded, (1, 312), 7, 1, 1) tests/test_imagecodecs.py:1041: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise EerError('imcd_eer_decode', ret) E imagecodecs.ImcdError: imcd_eer_decode returned IMCD_OUTPUT_TOO_SMALL imagecodecs/_imcd.pyx:1372: ImcdError ______________________________ test_eer_superres _______________________________ @pytest.mark.skipif(not imagecodecs.EER.available, reason='EER missing') def test_eer_superres(): """Test EER decoder superresolution mode.""" encoded = b'\x03\x1b\xfc\xb1\x35\xfb' # from EER specification > im = imagecodecs.eer_decode(encoded, (40, 32), 7, 1, 1, superres=True) tests/test_imagecodecs.py:1063: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise EerError('imcd_eer_decode', ret) E imagecodecs.ImcdError: imcd_eer_decode returned IMCD_OUTPUT_TOO_SMALL imagecodecs/_imcd.pyx:1372: ImcdError __________________________________ test_lz4h5 __________________________________ @pytest.mark.skipif(not imagecodecs.LZ4H5.available, reason='LZ4H5 missing') def test_lz4h5(): """Test lz4h5 codec with input from HDF5.""" # https://github.com/cgohlke/imagecodecs/issues/126 # with ( # h5py.File('h5ex_d_nplz4.h5', 'r') as h5, # open('lz4h5.bin', 'wb') as fh, # ): # filter_mask, chunk = ds.id.read_direct_chunk( # ds.id.get_chunk_info(0).chunk_offset # ) # fh.write(chunk) with open(datafiles('lz4h5.bin'), 'rb') as fh: data = fh.read() assert len(data) == 4792 # why this large? decoded = imagecodecs.lz4h5_decode(data) assert len(decoded) == 2048 # 16x32 uint32 assert decoded[:8] == b'\x00\x00\x00\x00\xff\xff\xff\xff' encoded = imagecodecs.lz4h5_encode(decoded) > assert len(encoded) == 1508 E AssertionError: assert 1509 == 1508 E + where 1509 = len(b'\x00\x00\x00\x00\x00\x00\x08\x00\x00\x00\x08\x00\x00\x00\x05\xd5\xf0q\x00\x00\x00\x00\xff\xff\xff\xff\xfe\xff\xff\xff\xfd\xff\xff\xff\xfc\xff\xff\xff\xfb\xff\xff\xff\xfa\xff\xff\xff\xf9\xff\xff\xff\xf8\xff\xff\xff\xf7\xff\xff\xff\xf6\xff\xff\xff\xf5\xff\xff\xff\xf4\xff\xff\xff\xf3\xff\xff\xff\xf2\xff\xff\xff\xf1\xff\xff\xff\xf0\xff\xff\xff\xef\xff\xff\xff\xee\xff\xff\xff\xed\xff\xff\xff\xec\xff\xff\xff\xeb\xff\xff\xff\xea\xff\xff\xff\xe9\xff\xff\xff\xe8\xff\xff\xff\xe7\xff\xff\xff\xe6\xff\xff\xff\xe5\xff\xff\xff\xe4\xff\xff\xff\xe3\xff\xff\xff\xe2\xff\xff\xff\xe1\xff\xff\xff\x80\x00\x0f\x02\x00m\xf3j\x01\x00\x00\x00\x02\x00\x00\x00\x03\x00\x00\x00\x04\x00\x00\x00\x05\x00\x00\x00\x06\x00\x00\x00\x07\x00\x00\x00\x08\x00\x00\x00\t\x00\x00\x00\n\x00\x00\x00\x0b\x00\x00\x00\x0c\x00\x00\x00\r\x00\x00\x00\x0e\x00\x00\x00\x0f\x00\x00\x00\x10\x00\x00\x00\x11\x00\x00\x00\x12\x00\x00\x00\x13\x00\x00\x00\x14\x00\x00\x00\x15\x00\x00\x00\x16\x00\x00\x00\x17\x00\x00\x00\x18\x00\x00\x00\x19\x00\x00\x00\x1a\x00\x00\x00\x1b\x00\x00\x00\x1c\x00\x00\x00\x1d\x00\x00\x00\x1e\x00\x00\x00\x1f\xfa\x00\x00|\x00\x00x\x00\x00t\x00\x00p\x00\x00l\x00\x00h\x00\x00d\x00\x00`\x00\x00\\\x00\x00X\x00\x00T\x00\x0...3yX\x02\x13\x8f\xe0\x01\x13\xa5h\x01\x13\xbb\xf0\x00\x13\xd1x\x00\xf3\x1a\xe7\x00\x00\x00\xf2\x00\x00\x00\xfd\x00\x00\x00\x08\x01\x00\x00\x13\x01\x00\x00\x1e\x01\x00\x00)\x01\x00\x004\x01\x00\x00?\x01\x00\x00J\x01\x00\x00U\x80\x00\x00\xfc\x02\x00\xfc\x01\x00\xf4\x02\x00\xf8\x01\x00\xfc\x00\x00x\x01\x00\xe4\x02\x00\xf0\x01\x00\xb8\x03\x00\xf8\x00\x00\xd4\x02\x00p\x01\x00\xcc\x02\x00\xc8\x02\x00\xc4\x02\x00\xe0\x01\x13\xcch\x01\x13\xe4\xf0\x00\x00d\x01\x00x\x00S\x14\x01\x00\x00 \xec\x00\xf3\x068\x01\x00\x00D\x01\x00\x00P\x01\x00\x00\\\x01\x00\x00h\x01\x00\x00t\x80\x00\x00\xd0\x05\x00T\x05\x00\xd8\x04\x00\\\x04\x00\xe0\x03\x00d\x03\x00\xe8\x02\x00l\x02\x00\xf0\x01\x00t\x01\x00\xf8\x00\x00|\x00\x13\xa9\xd0\x02\x13\xc3X\x02\x13\xdd\xe0\x01\x13\xf7h\x01\x13\x11\xf0\x00\x13+x\x00\xf3\nE\x01\x00\x00R\x01\x00\x00_\x01\x00\x00l\x01\x00\x00y\x01\x00\x00\x86\x01\x00\x00\x93\x80\x00\x00|\x03\x00x\x03\x00t\x03\x00\xf4\x02\x00\xf8\x01\x00\xfc\x00\x00d\x03\x00\xe8\x02\x00\xd0\x03\x00\xf0\x01\x00T\x03\x00\xf8\x00\x00L\x03\x00H\x03\x00\xe8\x01\x00\xd0\x02\x13\xeeX\x02\x13\n\xe0\x01\x13&h\x01\x13B\xf0\x00\x13^x\x00\xf0\x05z\x01\x00\x00\x88\x01\x00\x00\x96\x01\x00\x00\xa4\x01\x00\x00\xb2\x01\x00\x00') tests/test_imagecodecs.py:1479: AssertionError _____________________________ test_szip_canonical ______________________________ @pytest.mark.skipif(not imagecodecs.SZIP.available, reason='szip missing') def test_szip_canonical(): """Test SZIP codec.""" # from https://github.com/zarr-developers/numcodecs/pull/422 decode = imagecodecs.szip_decode encode = imagecodecs.szip_encode data = ( b'\x00\x02\x00\x00\x15UUUUUUUQUUUUUUUU\x15UUUUUUUQUUUUUUUU' b'\x15UUUUUUUQUUUUUUUU\x15UUUUUUUQUUUUUUUU' ) param = dict( options_mask=141, pixels_per_block=32, bits_per_pixel=16, pixels_per_scanline=256, header=True, ) decoded = decode(data, **param) arr = numpy.frombuffer(decoded, dtype=numpy.uint16) > assert (arr == 1).all() E assert np.False_ E + where np.False_ = () E + where = array([256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256, 256,\n 256, 256, 256, 256, 256, 256, 256, 256, 256], dtype=uint16) == 1.all tests/test_imagecodecs.py:2114: AssertionError _______________________________ test_zstd_stream _______________________________ @pytest.mark.skipif(not imagecodecs.ZSTD.available, reason='zstd missing') def test_zstd_stream(): """Test ZSTD decoder on stream with unknown decoded size.""" # https://github.com/fsspec/kerchunk/issues/317 data = readfile('zstd_stream.bin') decoded = imagecodecs.zstd_decode(data) arr = numpy.frombuffer(decoded, dtype=numpy.uint32).reshape(256, 256, 5) > assert arr[86, 97, 4] == 1092705 E assert np.uint32(1638666240) == 1092705 tests/test_imagecodecs.py:2166: AssertionError ___________________________ test_jpeg12_decode[new] ____________________________ output = 'new' @pytest.mark.skipif( imagecodecs.JPEG.legacy or not imagecodecs.JPEG8.available, reason='jpeg12 missing', ) @pytest.mark.parametrize('output', ['new', 'out', 'bytearray']) def test_jpeg12_decode(output): """Test JPEG 12-bit decoder with separate tables.""" decode = imagecodecs.jpeg8_decode data = readfile('words.jpeg12.bin') tables = readfile('words.jpeg12_tables.bin') if output == 'new': decoded = decode(data, tables=tables) elif output == 'out': decoded = numpy.zeros_like(WORDSIMG) decode(data, tables=tables, out=decoded) elif output == 'bytearray': decoded = bytearray(WORDSIMG.size * WORDSIMG.itemsize) decoded = decode(data, out=decoded) > assert ( numpy.max( numpy.abs(WORDSIMG.astype('int32') - decoded.astype('int32')) ) < 2 ) E AssertionError: assert np.int32(65025) < 2 E + where np.int32(65025) = (array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32)) E + where = numpy.max E + and array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32) = ((array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) - array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32))) E + where = numpy.abs E + and array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=uint16).astype E + and array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=uint16).astype tests/test_imagecodecs.py:2912: AssertionError ___________________________ test_jpeg12_decode[out] ____________________________ output = 'out' @pytest.mark.skipif( imagecodecs.JPEG.legacy or not imagecodecs.JPEG8.available, reason='jpeg12 missing', ) @pytest.mark.parametrize('output', ['new', 'out', 'bytearray']) def test_jpeg12_decode(output): """Test JPEG 12-bit decoder with separate tables.""" decode = imagecodecs.jpeg8_decode data = readfile('words.jpeg12.bin') tables = readfile('words.jpeg12_tables.bin') if output == 'new': decoded = decode(data, tables=tables) elif output == 'out': decoded = numpy.zeros_like(WORDSIMG) decode(data, tables=tables, out=decoded) elif output == 'bytearray': decoded = bytearray(WORDSIMG.size * WORDSIMG.itemsize) decoded = decode(data, out=decoded) > assert ( numpy.max( numpy.abs(WORDSIMG.astype('int32') - decoded.astype('int32')) ) < 2 ) E AssertionError: assert np.int32(65025) < 2 E + where np.int32(65025) = (array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32)) E + where = numpy.max E + and array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32) = ((array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) - array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32))) E + where = numpy.abs E + and array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=uint16).astype E + and array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=uint16).astype tests/test_imagecodecs.py:2912: AssertionError ________________________ test_jpeg12_decode[bytearray] _________________________ output = 'bytearray' @pytest.mark.skipif( imagecodecs.JPEG.legacy or not imagecodecs.JPEG8.available, reason='jpeg12 missing', ) @pytest.mark.parametrize('output', ['new', 'out', 'bytearray']) def test_jpeg12_decode(output): """Test JPEG 12-bit decoder with separate tables.""" decode = imagecodecs.jpeg8_decode data = readfile('words.jpeg12.bin') tables = readfile('words.jpeg12_tables.bin') if output == 'new': decoded = decode(data, tables=tables) elif output == 'out': decoded = numpy.zeros_like(WORDSIMG) decode(data, tables=tables, out=decoded) elif output == 'bytearray': decoded = bytearray(WORDSIMG.size * WORDSIMG.itemsize) decoded = decode(data, out=decoded) > assert ( numpy.max( numpy.abs(WORDSIMG.astype('int32') - decoded.astype('int32')) ) < 2 ) E AssertionError: assert np.int32(65025) < 2 E + where np.int32(65025) = (array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32)) E + where = numpy.max E + and array([[[ 0, 255, 509],\n [ 765, 1020, 1274],\n [ 1530, 1785, 2039],\n ...,\n [25245, 25500, 25754],\n [26010, 26265, 26519],\n [26775, 27030, 27284]],\n\n [[27540, 27795, 28049],\n [28305, 28560, 28814],\n [29070, 29325, 29579],\n ...,\n [52785, 53040, 53294],\n [53550, 53805, 54059],\n [54315, 54570, 54824]],\n\n [[55080, 55335, 55589],\n [55845, 56100, 56354],\n [56610, 56865, 57119],\n ...,\n [14790, 15045, 15299],\n [15555, 15810, 16064],\n [16320, 16575, 16829]],\n\n ...,\n\n [[56865, 57120, 57374],\n [57630, 57885, 58139],\n [58395, 58650, 58904],\n ...,\n [16575, 16830, 17084],\n [17340, 17595, 17849],\n [18105, 18360, 18614]],\n\n [[18870, 19125, 19379],\n [19635, 19890, 20144],\n [20400, 20655, 20909],\n ...,\n [44115, 44370, 44624],\n [44880, 45135, 45389],\n [45645, 45900, 46154]],\n\n [[46410, 46665, 46919],\n [47175, 47430, 47684],\n [47940, 48195, 48449],\n ...,\n [ 6120, 6375, 6629],\n [ 6885, 7140, 7394],\n [ 7650, 7905, 8159]]], shape=(36, 36, 3), dtype=int32) = ((array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) - array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32))) E + where = numpy.abs E + and array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 256, 512],\n [ 768, 1024, 1280],\n [ 1536, 1792, 2048],\n ...,\n [25344, 25600, 25856],\n [26112, 26368, 26624],\n [26880, 27136, 27392]],\n\n [[27648, 27904, 28160],\n [28416, 28672, 28928],\n [29184, 29440, 29696],\n ...,\n [52992, 53248, 53504],\n [53760, 54016, 54272],\n [54528, 54784, 55040]],\n\n [[55296, 55552, 55808],\n [56064, 56320, 56576],\n [56832, 57088, 57344],\n ...,\n [15105, 15361, 15617],\n [15873, 16129, 16385],\n [16641, 16897, 17153]],\n\n ...,\n\n [[60429, 60685, 60941],\n [61197, 61453, 61709],\n [61965, 62221, 62477],\n ...,\n [20238, 20494, 20750],\n [21006, 21262, 21518],\n [21774, 22030, 22286]],\n\n [[22542, 22798, 23054],\n [23310, 23566, 23822],\n [24078, 24334, 24590],\n ...,\n [47886, 48142, 48398],\n [48654, 48910, 49166],\n [49422, 49678, 49934]],\n\n [[50190, 50446, 50702],\n [50958, 51214, 51470],\n [51726, 51982, 52238],\n ...,\n [ 9999, 10255, 10511],\n [10767, 11023, 11279],\n [11535, 11791, 12047]]], shape=(36, 36, 3), dtype=uint16).astype E + and array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=int32) = ('int32') E + where = array([[[ 0, 1, 3],\n [ 3, 4, 6],\n [ 6, 7, 9],\n ...,\n [ 99, 100, 102],\n [ 102, 103, 105],\n [ 105, 106, 108]],\n\n [[ 108, 109, 111],\n [ 111, 112, 114],\n [ 114, 115, 117],\n ...,\n [ 207, 208, 210],\n [ 210, 211, 213],\n [ 213, 214, 216]],\n\n [[ 216, 217, 219],\n [ 219, 220, 222],\n [ 222, 223, 225],\n ...,\n [ 315, 316, 318],\n [ 318, 319, 321],\n [ 321, 322, 324]],\n\n ...,\n\n [[3564, 3565, 3567],\n [3567, 3568, 3570],\n [3570, 3571, 3573],\n ...,\n [3663, 3664, 3666],\n [3666, 3667, 3669],\n [3669, 3670, 3672]],\n\n [[3672, 3673, 3675],\n [3675, 3676, 3678],\n [3678, 3679, 3681],\n ...,\n [3771, 3772, 3774],\n [3774, 3775, 3777],\n [3777, 3778, 3780]],\n\n [[3780, 3781, 3783],\n [3783, 3784, 3786],\n [3786, 3787, 3789],\n ...,\n [3879, 3880, 3882],\n [3882, 3883, 3885],\n [3885, 3886, 3888]]], shape=(36, 36, 3), dtype=uint16).astype tests/test_imagecodecs.py:2912: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, 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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=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:3409: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:3676: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________________ test_lerc_files[world.lerc1] _________________________ file = 'world.lerc1' @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError ______________ test_lerc_files[california_400_400_1_float.lerc2] _______________ file = 'california_400_400_1_float.lerc2' @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError _______________ test_lerc_files[bluemarble_256_256_3_byte.lerc2] _______________ file = 'bluemarble_256_256_3_byte.lerc2' @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError _________________________ test_lerc_files[zstd.lerc2] __________________________ file = 'zstd.lerc2' @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3723: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:285: LercError _________________________ test_lerc_compression[None] __________________________ compression = None @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _________________________ test_lerc_compression[zstd] __________________________ compression = 'zstd' @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ________________________ test_lerc_compression[deflate] ________________________ compression = 'deflate' @pytest.mark.skipif(not imagecodecs.LERC.available, 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:3771: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError _______________________________ test_lerc_masks ________________________________ @pytest.mark.skipif( not imagecodecs.LERC.available 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:3789: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError ______________ test_image_roundtrips[bmp-uint8-rgb-new-new-None] _______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'rgb', enout = 'new' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a'\xab\x8a'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b"MB\x00\x00\x0c6\x00\x00\x00\x00\x00\x00\x006\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x18\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00Y\x99qS\xa8uP\xb8|R\xc5\x85W\xce\x8f^\xd0\x97c\xcb\x9cf\xc0\x9bh\xb2\x94i\xa3\x88m\x98yt\x93j\x81\x94\\\x93\x9aQ\xa6\xa1H\xb7\xa6A\xc4\xa9>\xca\xa9>\xc9\xa6A\xc0\xa0H\xb3\x9aP\xa4\x93[\x95\x8cf\x87\x86qy\x81zk~\x82[}\x88J}\x8c:\x7f\x8e.\x81\x90)\x85\x90\x00\x00\x00\\\x92{V\x9e|T\xaa\x80U\xb3\x85Z\xba\x8c_\xbb\x92c\xb6\x95e\xae\x94d\xa2\x8eb\x96\x83b\x8etg\x89dr\x8aU\x82\x8eG\x94\x92;\xa6\x962\xb4\x98.\xbc\x98-\xbd\x962\xb8\x93:\xae\x8fE\xa2\x8aR\x95\x86^\x87\x81ix}rhywUvzBtz/tz!vy\x1byy\x00\x00\x00b\x8b\x84]\x92\x83Z\x9a\x83[\xa0\x85`\xa4\x88d\xa5\x8cg\xa2\x8fg\x9c\x8fc\x94\x8a^\x8c\x81[\x86t\\\x82dd\x82Tq\x84D\x81\x866\x92\x88,\xa1\x8a\'\xab\x8a\'\xae\x8a,\xac\x886\xa6\x86B\x9d\x83O\x92\x81[\x86}exylgtnSpm=lj)jf\x1akc\x12nb\x00\x00\x00h\x82\x8ae\x85\x87c\x88\x84d\x8b\x82h\x8e\x82l\x8f\x85n\x8f\x88l\x8d\x8ae\x8a\x88^\x85\x82W\x82xV\x7fjZ~Yd~Ir\x7f;\x81\x802\x8f\x82-\x9a\x84.\x9f\x854\xa0\x84=\x9d\x83H\x97\x81T\x8f\x7f_\x85|fxwjgrhSld 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-new-5] ________________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-new--1] _______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError ______________ test_image_roundtrips[bmp-uint8-gray-new-out-None] ______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-out-5] ________________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError _______________ test_image_roundtrips[bmp-uint8-gray-new-out--1] _______________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError ___________ test_image_roundtrips[bmp-uint8-gray-new-bytearray-None] ___________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-new-bytearray-5] _____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-new-bytearray--1] ____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'new' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\xfffff\xffg...x7f\x84\x8a\x90\x98\xa1\xaa\xb2\x00\xd5\xd2\xc7\xb9\xad\xa6\xa7\xaf\xbb\xc5\xca\xc9\xc2\xb7\xa9\x9c\x91\x89\x83\x80~~\x7f\x81\x83\x86\x8b\x91\x98\x9e\xa3\x00\xc9\xc7\xbd\xb0\xa4\x9d\x9e\xa6\xb1\xba\xbf\xbe\xb9\xaf\xa4\x99\x91\x8a\x85\x82\x80\x7f~~\x7f\x80\x84\x88\x8d\x91\x92\x00\xc3\xc2\xbb\xaf\xa2\x9a\x98\x9c\xa5\xac\xb1\xb2\xae\xa6\x9e\x96\x8f\x89\x85\x81}zxwwy|\x80\x84\x85\x83\x00\xc3\xc5\xc0\xb6\xa9\x9f\x98\x97\x9a\x9f\xa4\xa6\xa4\xa0\x9a\x94\x8e\x88\x82}wronorv{~\x7fz\x00\xc6\xcc\xcb\xc4\xb8\xaa\x9f\x97\x95\x97\x9b\x9f\xa0\x9e\x9b\x96\x91\x8a\x81yqjfefkqx}~y\x00\xca\xd4\xd7\xd3\xc9\xba\xaa\x9d\x96\x95\x98\x9e\xa1\xa2\xa1\x9d\x96\x8e\x83wlc^]`fox\x80\x82~\x00\xc9\xd8\xe0\xe0\xd8\xc9\xb7\xa7\x9c\x98\x9b\xa1\xa6\xa9\xa9\xa5\x9e\x94\x86xj`ZY\\dnz\x83\x88\x86\x00\xc2\xd6\xe2\xe6\xe0\xd3\xc1\xb0\xa4\x9f\xa0\xa6\xad\xb0\xb1\xad\xa6\x9a\x8b{l`ZY]ep}\x87\x8d\x8e\x00\xb2\xca\xda\xe2\xe0\xd6\xc7\xb7\xab\xa4\xa5\xaa\xb0\xb5\xb5\xb2\xaa\x9e\x8f\x7fpe_^bjt\x80\x8b\x92\x94\x00\x9b\xb5\xca\xd6\xd8\xd2\xc6\xb8\xac\xa5\xa5\xa9\xaf\xb2\xb3\xb0\xa9\x9e\x90\x82ulggkr{\x84\x8e\x94\x98\x00\x80\x9b\xb2\xc2\xc8\xc6\xbe\xb2\xa8\xa1\x9f\xa2\xa6\xa9\xa9\xa7\xa1\x99\x8f\x84ztrtx}\x83\x8a\x90\x96\x9a\x00') tests/test_imagecodecs.py:4513: AssertionError ___________ test_image_roundtrips[bmp-uint8-gray-bytearray-new-None] ___________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-new-5] _____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-new--1] ____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'new', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ___________ test_image_roundtrips[bmp-uint8-gray-bytearray-out-None] ___________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-out-5] _____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ____________ test_image_roundtrips[bmp-uint8-gray-bytearray-out--1] ____________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'out', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ________ test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-None] ________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError _________ test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-5] __________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError _________ test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray--1] _________ codec = 'bmp', dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', level = None @pytest.mark.parametrize('level', [None, 5, -1]) @pytest.mark.parametrize('deout', ['new', 'out', 'view', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgb', 'rgba', 'view', 'gray', 'graya']) @pytest.mark.parametrize('dtype', ['uint8', 'uint16']) @pytest.mark.parametrize( 'codec', [ 'apng', 'avif', 'bmp', 'brunsli', 'heif', 'jpeg_lossless', 'jpeg2k', 'jpeg8', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'ljpeg', 'mozjpeg', 'png', 'qoi', 'spng', 'webp', ], ) def test_image_roundtrips(codec, dtype, itype, enout, deout, level): """Test various image codecs.""" if codec == 'jpeg8': if not imagecodecs.JPEG8.available: pytest.skip(f'{codec} missing') if imagecodecs.JPEG.legacy and dtype == 'uint16': pytest.skip('JPEG12 not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg8_decode encode = imagecodecs.jpeg8_encode check = imagecodecs.jpeg8_check atol = 24 if dtype == 'uint8' else (24 * 16) if level: level += 95 elif codec == 'jpeg_lossless': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: pytest.skip('LJPEG not supported') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpeg8 does not support this case') decode = imagecodecs.jpeg_decode check = imagecodecs.jpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None def encode( data, bitspersample=12 if dtype == 'uint16' else 8, **kwargs ): return imagecodecs.jpeg_encode( data, bitspersample=bitspersample, lossless=True, **kwargs ) elif codec == 'mozjpeg': if not imagecodecs.MOZJPEG.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('mozjpeg does not support this case') decode = imagecodecs.mozjpeg_decode encode = imagecodecs.mozjpeg_encode check = imagecodecs.mozjpeg_check atol = 24 if level: level += 95 elif codec == 'ljpeg': if not imagecodecs.LJPEG.available: pytest.skip(f'{codec} missing') if itype in {'rgb', 'rgba', 'view', 'graya'} or deout == 'view': pytest.xfail('ljpeg does not support this case') decode = imagecodecs.ljpeg_decode encode = imagecodecs.ljpeg_encode check = imagecodecs.ljpeg_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.ljpeg_encode( data, bitspersample=12, *args, **kwargs ) elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view': pytest.xfail('jpegls does not support this case') decode = imagecodecs.jpegls_decode encode = imagecodecs.jpegls_encode check = imagecodecs.jpegls_check elif codec == 'webp': if not imagecodecs.WEBP.available: pytest.skip(f'{codec} missing') decode = imagecodecs.webp_decode encode = imagecodecs.webp_encode check = imagecodecs.webp_check if dtype != 'uint8' or itype.startswith('gray'): pytest.xfail('webp does not support this case') if itype == 'rgba': def decode(data, out=None): # noqa return imagecodecs.webp_decode(data, hasalpha=True, out=out) if level: level += 95 elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} missing') decode = imagecodecs.png_decode encode = imagecodecs.png_encode check = imagecodecs.png_check elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('apng does not support this case') decode = imagecodecs.apng_decode encode = imagecodecs.apng_encode check = imagecodecs.apng_check elif codec == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} missing') if ( itype in {'rgba', 'view', 'graya'} or deout == 'view' or dtype != 'uint8' ): pytest.xfail('bmp does not support this case') decode = imagecodecs.bmp_decode encode = imagecodecs.bmp_encode check = imagecodecs.bmp_check if level is not None: # duplicate test # pytest.skip(f'{codec} does not support level') level = None elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('spng does not support this case') if itype == 'graya' or ( dtype == 'uint16' and itype in {'gray', 'rgb'} ): pytest.xfail('spng does not support this case') decode = imagecodecs.spng_decode encode = imagecodecs.spng_encode check = imagecodecs.spng_check elif codec == 'qoi': if not imagecodecs.QOI.available: pytest.skip(f'{codec} missing') decode = imagecodecs.qoi_decode encode = imagecodecs.qoi_encode check = imagecodecs.qoi_check level = None if ( itype in {'view', 'gray', 'graya'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('qoi does not support this case') elif codec == 'jpeg2k': if not imagecodecs.JPEG2K.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpeg2k does not support this case') check = imagecodecs.jpeg2k_check if level and level > 0: level = 100 - level # psnr # enable verbose mode for rare failures def encode(data, *args, **kwargs): return imagecodecs.jpeg2k_encode(data, verbose=3, *args, **kwargs) def decode(data, *args, **kwargs): return imagecodecs.jpeg2k_decode(data, verbose=3, *args, **kwargs) elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} missing') if itype == 'view' or deout == 'view': pytest.xfail('jpegxl does not support this case') if level: level += 95 decode = imagecodecs.jpegxl_decode encode = imagecodecs.jpegxl_encode check = imagecodecs.jpegxl_check elif codec == 'brunsli': if not imagecodecs.BRUNSLI.available: pytest.skip(f'{codec} missing') if itype in {'view', 'graya'} or deout == 'view' or dtype == 'uint16': pytest.xfail('brunsli does not support this case') decode = imagecodecs.brunsli_decode encode = imagecodecs.brunsli_encode check = imagecodecs.brunsli_check atol = 24 if level: level += 95 elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} missing') if itype == 'graya' or deout == 'view': pytest.xfail('jpegxr does not support this case') decode = imagecodecs.jpegxr_decode encode = imagecodecs.jpegxr_encode check = imagecodecs.jpegxr_check atol = 10 if level: level = (level + 95) / 100 elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} missing') if itype != 'rgb' or deout == 'view': pytest.xfail('jpegxs does not support this case') level = None decode = imagecodecs.jpegxs_decode encode = imagecodecs.jpegxs_encode check = imagecodecs.jpegxs_check elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} missing') if itype in {'view'} or deout == 'view': pytest.xfail('avif does not support this case') decode = imagecodecs.avif_decode encode = imagecodecs.avif_encode check = imagecodecs.avif_check if dtype == 'uint16': def encode(data, *args, **kwargs): # noqa return imagecodecs.avif_encode( data, bitspersample=12, *args, **kwargs ) if level: level += 95 atol = 10 elif codec == 'heif': if not imagecodecs.HEIF.available: pytest.skip(f'{codec} missing') if ( itype in {'gray', 'graya', 'view'} or deout == 'view' or dtype == 'uint16' ): pytest.xfail('heif does not support this case') decode = imagecodecs.heif_decode encode = imagecodecs.heif_encode check = imagecodecs.heif_check atol = 10 if level: level += 95 if int(imagecodecs.heif_version().split('.')[1]) < 12: pytest.xfail('libheif < 1.12 cannot encode small images') else: raise ValueError(codec) dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = {} if level is None else {'level': level} if enout == 'new': encoded = encode(data, **kwargs) elif enout == 'out': encoded = numpy.zeros( 3 * shape[0] * shape[1] * shape[2] * itemsize, 'uint8' ) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] elif enout == 'bytearray': encoded = bytearray(3 * shape[0] * shape[1] * shape[2] * itemsize) ret = encode(data, out=encoded, **kwargs) if codec in {'brunsli'}: # Brunsli decoder doesn't like extra bytes encoded = encoded[: len(ret)] if enout != 'out': > assert check(encoded) in {None, True} E assert False in {None, True} E + where False = (bytearray(b'MB\x00\x00\x086\x00\x00\x00\x00\x00\x00\x046\x00\x00\x00(\x00\x00\x00\x1f\x00\x00\x00 \x00\x01\x00\x08\x00\x00\x00\x00\x00\x00\x04\x00\x00\x00\x0e\xc4\x00\x00\x0e\xc4\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x01\x01\x01\xff\x02\x02\x02\xff\x03\x03\x03\xff\x04\x04\x04\xff\x05\x05\x05\xff\x06\x06\x06\xff\x07\x07\x07\xff\x08\x08\x08\xff\t\t\t\xff\n\n\n\xff\x0b\x0b\x0b\xff\x0c\x0c\x0c\xff\r\r\r\xff\x0e\x0e\x0e\xff\x0f\x0f\x0f\xff\x10\x10\x10\xff\x11\x11\x11\xff\x12\x12\x12\xff\x13\x13\x13\xff\x14\x14\x14\xff\x15\x15\x15\xff\x16\x16\x16\xff\x17\x17\x17\xff\x18\x18\x18\xff\x19\x19\x19\xff\x1a\x1a\x1a\xff\x1b\x1b\x1b\xff\x1c\x1c\x1c\xff\x1d\x1d\x1d\xff\x1e\x1e\x1e\xff\x1f\x1f\x1f\xff \xff!!!\xff"""\xff###\xff$$$\xff%%%\xff&&&\xff\'\'\'\xff(((\xff)))\xff***\xff+++\xff,,,\xff---\xff...\xff///\xff000\xff111\xff222\xff333\xff444\xff555\xff666\xff777\xff888\xff999\xff:::\xff;;;\xff<<<\xff===\xff>>>\xff???\xff@@@\xffAAA\xffBBB\xffCCC\xffDDD\xffEEE\xffFFF\xffGGG\xffHHH\xffIII\xffJJJ\xffKKK\xffLLL\xffMMM\xffNNN\xffOOO\xffPPP\xffQQQ\xffRRR\xffSSS\xffTTT\xffUUU\xffVVV\xffWWW\xffXXX\xffYYY\xffZZZ\xff[[[\xff\\\\\\\xff]]]\xff^^^\xff___\xff```\xffaaa\xffbbb\xffccc\xffddd\xffeee\x...0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')) tests/test_imagecodecs.py:4513: AssertionError ___________________ test_tiff_files[rgb.tiled.jpeg.u1-False] ___________________ name = 'rgb.tiled.jpeg.u1', asrgb = False @pytest.mark.skipif(not imagecodecs.TIFF.available, 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 'png' in name or 'jpeg2000' in name or 'jpegxl' in name or 'jpegxr' 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 = TIFF_PATH / 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 53818 / 55278 (97.4%) E Max absolute difference among violations: 128 E Max relative difference among violations: 0.50196 E ACTUAL: array([[[[134, 122, 100], E [132, 120, 98], E [129, 116, 99],... E DESIRED: array([[[[255, 100, 122], E [255, 98, 120], E [255, 99, 116],... tests/test_imagecodecs.py:4661: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 3.3379e-06, 1.0208e-02, 4.9174e-05], E [-1.9900e+02, 1.0704e+04, 7.7783e-01], E [-8.8167e-04, -2.2054e-04, 1.8057e+00],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 3.3379e-06, 1.0208e-02, 4.9174e-05], E [-1.9900e+02, 1.0704e+04, 7.7783e-01], E [-8.8167e-04, -2.2054e-04, 1.8057e+00],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 3.3379e-06, 1.0208e-02, 4.9174e-05], E [-1.9900e+02, 1.0704e+04, 7.7783e-01], E [-8.8167e-04, -2.2054e-04, 1.8057e+00],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 3.3379e-06, 1.0208e-02, 4.9174e-05], E [-1.9900e+02, 1.0704e+04, 7.7783e-01], E [-8.8167e-04, -2.2054e-04, 1.8057e+00],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 3.3379e-06, 1.0208e-02, 4.9174e-05], E [-1.9900e+02, 1.0704e+04, 7.7783e-01], E [-8.8167e-04, -2.2054e-04, 1.8057e+00],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E DESIRED: array([[[ 3.3379e-06, 1.0208e-02, 4.9174e-05], E [-1.9900e+02, 1.0704e+04, 7.7783e-01], E [-8.8167e-04, -2.2054e-04, 1.8057e+00],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) E AssertionError: E Arrays are not equal E E nan location mismatch: E ACTUAL: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E DESIRED: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... tests/test_imagecodecs.py:4807: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF.available: 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference among violations: 128 E Max relative difference among violations: 5.35294 E ACTUAL: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E DESIRED: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... tests/test_imagecodecs.py:4814: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.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() image = image.view(image.dtype.newbyteorder()) if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF.available: 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) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference among violations: 128 E Max relative difference among violations: 5.35294 E ACTUAL: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E DESIRED: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... tests/test_imagecodecs.py:4814: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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.available: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA.available: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD.available: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS.available: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG.available: 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.available: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC.available: 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.available: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB.available: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP.available: 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() data = data.view(data.dtype.newbyteorder()) with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:4787: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/tifffile/tifffile.py:1422: in imwrite result = tif.write( /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3605: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21147: in encode_chunks yield func(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:21141: in func return encode(chunk) /usr/lib/python3.14/site-packages/tifffile/tifffile.py:3360: 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:131: 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', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', '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 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: 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.available: 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 == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: 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.available: 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.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: 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: try: store = zarr.MemoryStore() store_args = {} except AttributeError: # zarr 3 store = zarr.storage.MemoryStore() store_args = {'zarr_format': 2} z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, **store_args, ) 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[:, :150, :150], data[:, :150, :150]) E AssertionError: E Arrays are not equal E E Mismatched elements: 45000 / 45000 (100%) E Max absolute difference among violations: 207. E Max relative difference among violations: 1. E ACTUAL: array([[[0., 0., 0., ..., 0., 0., 0.], E [0., 0., 0., ..., 0., 0., 0.], E [0., 0., 0., ..., 0., 0., 0.],... E DESIRED: array([[[141., 140., 139., ..., 7., 7., 7.], E [138., 137., 136., ..., 7., 7., 7.], E [135., 133., 132., ..., 6., 6., 6.],... tests/test_imagecodecs.py:5380: 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', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', '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 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: 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.available: 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 == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: 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.available: 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.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: 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: try: store = zarr.MemoryStore() store_args = {} except AttributeError: # zarr 3 store = zarr.storage.MemoryStore() store_args = {'zarr_format': 2} z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, **store_args, ) 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[:, :150, :150], data[:, :150, :150]) E AssertionError: E Arrays are not equal E E Mismatched elements: 135000 / 135000 (100%) E Max absolute difference among violations: 246. E Max relative difference among violations: 1. E ACTUAL: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E DESIRED: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... tests/test_imagecodecs.py:5380: AssertionError ________________________ test_numcodecs[float24-stack] _________________________ codec = 'float24', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', '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 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: 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.available: 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 == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: 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.available: 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.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: 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: try: store = zarr.MemoryStore() store_args = {} except AttributeError: # zarr 3 store = zarr.storage.MemoryStore() store_args = {'zarr_format': 2} z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, **store_args, ) 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[:, :150, :150], data[:, :150, :150]) E AssertionError: E Arrays are not equal E E Mismatched elements: 98304 / 98304 (100%) E Max absolute difference among violations: 246. E Max relative difference among violations: 1. E ACTUAL: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E DESIRED: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... tests/test_imagecodecs.py:5380: 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', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', '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 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: 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.available: 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 == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: 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.available: 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.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: 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: try: store = zarr.MemoryStore() store_args = {} except AttributeError: # zarr 3 store = zarr.storage.MemoryStore() store_args = {'zarr_format': 2} z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, **store_args, ) > z[:] = data tests/test_imagecodecs.py:5373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/zarr/core.py:1451: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1547: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1937: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1990: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:2263: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:2273: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.14/site-packages/zarr/core.py:2397: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/numcodecs.py:1297: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: 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', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', '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 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: 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.available: 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 == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: 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.available: 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.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: 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: try: store = zarr.MemoryStore() store_args = {} except AttributeError: # zarr 3 store = zarr.storage.MemoryStore() store_args = {'zarr_format': 2} z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, **store_args, ) > z[:] = data tests/test_imagecodecs.py:5373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/zarr/core.py:1451: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1547: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1937: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1990: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:2263: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:2273: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.14/site-packages/zarr/core.py:2397: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/numcodecs.py:1297: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError __________________________ test_numcodecs[lerc-stack] __________________________ codec = 'lerc', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb', 'stack']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', 'bmp', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'lz4h5', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'jpegxs', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pcodec', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'sperr', 'spng', 'sz3', 'szip', 'tiff', # no encoder 'ultrahdr', '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 elif photometric == 'gray': data = data[..., 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 else: # https://github.com/cgohlke/imagecodecs/issues/98 data = data[:, :128, :128].copy() photometric = 'rgb' shape = data.shape chunks = (1, *data.shape[1:]) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=100, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC.available: 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.available: 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 == 'bmp': if not imagecodecs.BMP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bmp(asrgb=None) elif codec == 'brotli': if not imagecodecs.BROTLI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'lz4h5': if not imagecodecs.LZ4H5.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4h5(level=10, blocksize=100) elif codec == 'heif': if not imagecodecs.HEIF.available: 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.available: 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.available: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG.available or imagecodecs.JPEG.legacy: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegls(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpegxr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'jpegxs': if not imagecodecs.JPEGXS.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'JPEGXS does not support {photometric=}') compressor = numcodecs.Jpegxs(config='p=MLS.12', verbose=1) elif codec == 'ultrahdr': if not imagecodecs.ULTRAHDR.available: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail(f'ULTRAHDR does not support {photometric=}') else: pytest.xfail('ultrahdr_encode not working') data = data.astype('float32') data /= data.max() data = data.astype('float16') compressor = numcodecs.Ultrahdr() lossless = False atol = 1e-2 elif codec == 'lerc': if not imagecodecs.LERC.available: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS.available: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.Packbits(axis=-2) else: compressor = numcodecs.Packbits() elif codec == 'pcodec': if not imagecodecs.PCODEC.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Pcodec( level=8, shape=chunks[1:], dtype=data.dtype, ) lossless = False atol = 1e-2 elif codec == 'pglz': if not imagecodecs.PGLZ.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI.available: 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.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype.str) elif codec == 'snappy': if not imagecodecs.SNAPPY.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'sperr': if not imagecodecs.SPERR.available: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Sperr( level=100.0, mode='psnr', shape=chunks[1:], dtype=data.dtype, header=False, ) lossless = False atol = 1e-2 elif codec == 'spng': if not imagecodecs.SPNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'sz3': if not imagecodecs.SZ3.available: pytest.skip(f'{codec} not found') data = data.astype('float32') atol = 1e-3 compressor = numcodecs.Sz3( mode='abs', abs=atol, shape=chunks[1:], dtype=data.dtype, ) lossless = False elif codec == 'szip': if not imagecodecs.SZIP.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Szip( header=True, **imagecodecs.szip_params(data) ) elif codec == 'tiff': if not imagecodecs.TIFF.available: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP.available: 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.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI.available: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD.available: 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: try: store = zarr.MemoryStore() store_args = {} except AttributeError: # zarr 3 store = zarr.storage.MemoryStore() store_args = {'zarr_format': 2} z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, **store_args, ) > z[:] = data tests/test_imagecodecs.py:5373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.14/site-packages/zarr/core.py:1451: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1547: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1937: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:1990: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:2263: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.14/site-packages/zarr/core.py:2273: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.14/site-packages/zarr/core.py:2397: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.14/site-packages/imagecodecs/numcodecs.py:1297: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:188: LercError =========================== short test summary info ============================ FAILED tests/test_imagecodecs.py::test_packints_decode - AssertionError: asse... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-0] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-1] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-2] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-3] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-4] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-=-5] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-0] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-1] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-2] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-3] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-4] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False-<-5] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-0] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-1] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-2] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-3] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-4] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[False->-5] - AssertionError: ... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-0] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-1] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-2] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-3] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-4] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-=-5] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-0] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-1] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-2] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-3] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-4] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True-<-5] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-0] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-1] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-2] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-3] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-4] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle[True->-5] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_dicomrle_numcodecs - ValueError: inval... 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_eer - imagecodecs.ImcdError: imcd_eer_... FAILED tests/test_imagecodecs.py::test_eer_superres - imagecodecs.ImcdError: ... FAILED tests/test_imagecodecs.py::test_lz4h5 - AssertionError: assert 1509 ==... FAILED tests/test_imagecodecs.py::test_szip_canonical - assert np.False_ FAILED tests/test_imagecodecs.py::test_zstd_stream - assert np.uint32(1638666... FAILED tests/test_imagecodecs.py::test_jpeg12_decode[new] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_jpeg12_decode[out] - AssertionError: a... FAILED tests/test_imagecodecs.py::test_jpeg12_decode[bytearray] - AssertionEr... 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.L... FAILED tests/test_imagecodecs.py::test_lerc_compression[None] - imagecodecs.L... FAILED tests/test_imagecodecs.py::test_lerc_compression[zstd] - imagecodecs.L... FAILED tests/test_imagecodecs.py::test_lerc_compression[deflate] - imagecodec... FAILED tests/test_imagecodecs.py::test_lerc_masks - imagecodecs.LercError: le... FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-new-bytearray--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-rgb-bytearray-bytearray--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-new-bytearray--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-new--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-out--1] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-None] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray-5] FAILED tests/test_imagecodecs.py::test_image_roundtrips[bmp-uint8-gray-bytearray-bytearray--1] 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[float24-stack] - AssertionEr... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-gray] - imagecodecs.Ler... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] - imagecodecs.Lerc... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-stack] - imagecodecs.Le... = 1852 failed, 3361 passed, 4423 skipped, 373 deselected, 1681 xfailed in 466.00s (0:07:45) = + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-imagecodecs-2025.3.30-2.fc43.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.BsAtqx + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + cd imagecodecs-2025.3.30 + DOCDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/share/doc/python3-imagecodecs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/share/doc/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/README.rst /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/share/doc/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.uNYdTq + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2025.3.30-build + cd imagecodecs-2025.3.30 + LICENSEDIR=/builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/imagecodecs-2025.3.30/LICENSE /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-imagecodecs = 2025.3.30-2.fc43 python3-imagecodecs = 2025.3.30-2.fc43 python3-imagecodecs(s390-64) = 2025.3.30-2.fc43 python3.14-imagecodecs = 2025.3.30-2.fc43 python3.14dist(imagecodecs) = 2025.3.30 python3dist(imagecodecs) = 2025.3.30 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libLerc.so.4()(64bit) libaec.so.0()(64bit) libavif.so.16()(64bit) libblosc.so.1()(64bit) libblosc2.so.4()(64bit) libbrotlidec.so.1()(64bit) libbrotlienc.so.1()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) 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) libsz.so.2()(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libtiff.so.6(LIBTIFF_4.5)(64bit) libwebp.so.7()(64bit) libwebpdemux.so.2()(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.14 python3.14dist(numpy) rtld(GNU_HASH) Processing files: python-imagecodecs-debugsource-2025.3.30-2.fc43.s390x Provides: python-imagecodecs-debugsource = 2025.3.30-2.fc43 python-imagecodecs-debugsource(s390-64) = 2025.3.30-2.fc43 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-imagecodecs-debuginfo-2025.3.30-2.fc43.s390x Provides: debuginfo(build-id) = 192a529358e0ecbb82fccb0caee34fffc3af4315 debuginfo(build-id) = 2064d501dfa199a5c72c3d34c11d4a228adbacb0 debuginfo(build-id) = 2d2a782a313ce2bbbf84eed99612647f926d912d debuginfo(build-id) = 2fa005a0ea82fe5f42d96098af5cbbeae056c036 debuginfo(build-id) = 3b3028ed0b8a0a910646f3459f706d599dd23998 debuginfo(build-id) = 3bf3a331e29da0ef3062a748c8c25d70f73e5766 debuginfo(build-id) = 45216c35483ce69323efce3ec83e84eb45beff2e debuginfo(build-id) = 4915f1f3d54f3c41b7e32414678abaa31f84cb6c debuginfo(build-id) = 6ea54e460bb5e946dd8dad77172631d53e02c8a3 debuginfo(build-id) = 71ad5255e3eeb49e137bd334591230a9c1381936 debuginfo(build-id) = 745fd9343e2462d5e803afaa5fdbccce447556fe debuginfo(build-id) = 78a5c9bb11d7da83f999b23c9762d3eda8f423aa debuginfo(build-id) = 809d0e5a62d0fc25bc5d6a91e92b022c1ea4e4be debuginfo(build-id) = 896e12bd846b0a24115357fd9eff176710b1d9c7 debuginfo(build-id) = 94d61c6048178a20ab061bcd3e2d58e608e624bc debuginfo(build-id) = 96ecced1c9c1605c8c9a767845e72f69663054ca debuginfo(build-id) = 9734bb79f49f9eb734de0468e4367c6f101a8803 debuginfo(build-id) = 9866d2094134c26d91e107d30e7c1274b2b0faed debuginfo(build-id) = 9f58f5f636ef397fdf723c75d04930a33bb67f3a debuginfo(build-id) = a347c8673516c26f33931ca7acd01ef7a1397b7e debuginfo(build-id) = a45caff8a0af6598a4b243ed744fc8af8144e8c6 debuginfo(build-id) = acaf605665eb7e785160001cdd83337489b22321 debuginfo(build-id) = d15e82e78576138695b5d6eb3997b05984effa41 debuginfo(build-id) = d60cba07e226014e8218f1f771b3a66094f3d88e debuginfo(build-id) = d7a79198012a9c245f30e3cff7815f88f1e1d998 debuginfo(build-id) = e7e3532f2f25eb76961a964a12681cc100c3287b debuginfo(build-id) = ebb796de5dc41e42a07ade9723cfbb4e8dc0f84b debuginfo(build-id) = fd45e6c2ea4ee7fcc7751dc6325fb910403701a9 python-imagecodecs-debuginfo = 2025.3.30-2.fc43 python3-imagecodecs-debuginfo = 2025.3.30-2.fc43 python3-imagecodecs-debuginfo(s390-64) = 2025.3.30-2.fc43 python3.14-imagecodecs-debuginfo = 2025.3.30-2.fc43 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) = 2025.3.30-2.fc43 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-imagecodecs-2025.3.30-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-imagecodecs-2025.3.30-2.fc43.src.rpm Wrote: /builddir/build/RPMS/python-imagecodecs-debugsource-2025.3.30-2.fc43.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-2025.3.30-2.fc43.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-debuginfo-2025.3.30-2.fc43.s390x.rpm Finish: rpmbuild python-imagecodecs-2025.3.30-2.fc43.src.rpm Finish: build phase for python-imagecodecs-2025.3.30-2.fc43.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-42-s390x-1754573609.551421/root/var/log/dnf5.log INFO: chroot_scan: creating tarball /var/lib/copr-rpmbuild/results/chroot_scan.tar.gz /bin/tar: Removing leading `/' from member names INFO: Done(/var/lib/copr-rpmbuild/results/python-imagecodecs-2025.3.30-2.fc43.src.rpm) Config(child) 14 minutes 15 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": "2025.3.30", "release": "2.fc43", "arch": "s390x" }, { "name": "python3-imagecodecs", "epoch": null, "version": "2025.3.30", "release": "2.fc43", "arch": "s390x" }, { "name": "python-imagecodecs-debugsource", "epoch": null, "version": "2025.3.30", "release": "2.fc43", "arch": "s390x" }, { "name": "python-imagecodecs", "epoch": null, "version": "2025.3.30", "release": "2.fc43", "arch": "src" } ] } RPMResults finished