Warning: Permanently added '150.239.214.172' (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/8070815-fedora-rawhide-s390x --chroot fedora-rawhide-s390x Version: 0.73 PID: 6967 Logging PID: 6968 Task: {'allow_user_ssh': False, 'appstream': False, 'background': False, 'build_id': 8070815, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-s390x', 'enable_net': False, 'fedora_review': False, 'git_hash': 'c8be06410965faee0971576ab08b4f654da27e0b', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/ljavorsk/zlib-ng-rebase-fedora/python-imagecodecs', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'python-imagecodecs', 'package_version': '2023.1.23-4', 'project_dirname': 'zlib-ng-rebase-fedora', 'project_name': 'zlib-ng-rebase-fedora', 'project_owner': 'ljavorsk', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/ljavorsk/zlib-ng-rebase-fedora/fedora-rawhide-s390x/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': 'ljavorsk/zlib-ng-rebase-fedora--ljavorsk', 'source_json': {}, 'source_type': None, 'ssh_public_keys': None, 'submitter': 'ljavorsk', 'tags': [], 'task_id': '8070815-fedora-rawhide-s390x', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/ljavorsk/zlib-ng-rebase-fedora/python-imagecodecs /var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/ljavorsk/zlib-ng-rebase-fedora/python-imagecodecs', '/var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs'... Running: git checkout c8be06410965faee0971576ab08b4f654da27e0b -- cmd: ['git', 'checkout', 'c8be06410965faee0971576ab08b4f654da27e0b', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs rc: 0 stdout: stderr: Note: switching to 'c8be06410965faee0971576ab08b4f654da27e0b'. 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 c8be064 automatic import of python-imagecodecs Running: copr-distgit-client sources 100 14.1M 100 14.1M 0 0 2605k 0 0:00:05 0:00:05 --:--:-- 3421k INFO: Reading stdout from command: md5sum imagecodecs-2023.1.23.tar.gz /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1727425272.960306 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.6 starting (python version = 3.12.1, NVR = mock-5.6-1.fc39), args: /usr/libexec/mock/mock --spec /var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs/python-imagecodecs.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1727425272.960306 -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-gim_jk5i/python-imagecodecs/python-imagecodecs.spec) Config(fedora-rawhide-s390x) Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1727425272.960306/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Guessed host environment type: unknown INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-s390x-bootstrap-1727425272.960306/root INFO: Checking that registry.fedoraproject.org/fedora:rawhide image matches host's architecture INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/53bf1159c014c90e717bff4a335ba03dce3a37b163ec5319863ddfcbf63f4d9a/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/53bf1159c014c90e717bff4a335ba03dce3a37b163ec5319863ddfcbf63f4d9a/merged) with podman image umount INFO: Package manager dnf5 detected and used (fallback) INFO: Not updating bootstrap chroot, bootstrap_image_ready=True Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-1727425272.960306/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.94-1.fc42.s390x rpm-sequoia-1.7.0-2.fc41.s390x dnf5-5.2.6.2-1.fc42.s390x dnf5-plugins-5.2.6.2-1.fc42.s390x Start: installing minimal buildroot with dnf5 Updating and loading repositories: fedora 100% | 21.9 MiB/s | 19.8 MiB | 00m01s Copr repository 100% | 2.7 MiB/s | 2.5 MiB | 00m01s Repositories loaded. Package Arch Version Repository Size Installing group/module packages: bash s390x 5.2.32-2.fc42 fedora 8.3 MiB bzip2 s390x 1.0.8-19.fc41 fedora 99.2 KiB coreutils s390x 9.5-9.fc42 fedora 6.2 MiB cpio s390x 2.15-2.fc41 fedora 1.1 MiB diffutils s390x 3.10-8.fc41 fedora 1.6 MiB fedora-release-common noarch 42-0.3 fedora 19.4 KiB findutils s390x 1:4.10.0-4.fc41 fedora 1.9 MiB gawk s390x 5.3.0-4.fc41 fedora 1.8 MiB glibc-minimal-langpack s390x 2.40.9000-5.fc42 copr_base 0.0 B grep s390x 3.11-9.fc41 fedora 1.0 MiB gzip s390x 1.13-2.fc41 fedora 400.8 KiB info s390x 7.1.1-1.fc42 fedora 409.1 KiB patch s390x 2.7.6-25.fc41 fedora 298.3 KiB redhat-rpm-config noarch 296-1.fc42 fedora 186.6 KiB rpm-build s390x 4.19.94-1.fc42 fedora 200.5 KiB sed s390x 4.9-3.fc41 fedora 873.2 KiB shadow-utils s390x 2:4.16.0-4.fc42 fedora 4.1 MiB tar s390x 2:1.35-4.fc41 fedora 3.0 MiB unzip s390x 6.0-64.fc41 fedora 410.0 KiB util-linux s390x 2.40.2-8.fc42 fedora 3.7 MiB which s390x 2.21-42.fc41 fedora 83.9 KiB xz s390x 1:5.6.2-2.fc41 fedora 1.2 MiB Installing dependencies: add-determinism s390x 0.3.6-1.fc41 fedora 3.0 MiB alternatives s390x 1.30-1.fc41 fedora 70.1 KiB ansible-srpm-macros noarch 1-16.fc41 fedora 35.7 KiB audit-libs s390x 4.0.2-1.fc41 fedora 350.9 KiB authselect s390x 1.5.0-7.fc41 fedora 153.3 KiB authselect-libs s390x 1.5.0-7.fc41 fedora 819.6 KiB basesystem noarch 11-21.fc41 fedora 0.0 B binutils s390x 2.43.50-1.fc42 copr_base 26.9 MiB build-reproducibility-srpm-macros noarch 0.3.6-1.fc41 fedora 735.0 B bzip2-libs s390x 1.0.8-19.fc41 fedora 88.5 KiB ca-certificates noarch 2024.2.69_v8.0.401-1.fc42 fedora 2.6 MiB coreutils-common s390x 9.5-9.fc42 fedora 11.2 MiB cracklib s390x 2.9.11-6.fc42 copr_base 230.0 KiB crypto-policies noarch 20240828-1.git5f66e81.fc42 fedora 136.9 KiB curl s390x 8.10.1-2.fc42 copr_base 481.1 KiB cyrus-sasl-lib s390x 2.1.28-27.fc41 fedora 2.4 MiB debugedit s390x 5.0-17.fc41 fedora 202.8 KiB dwz s390x 0.15-7.fc41 fedora 318.6 KiB ed s390x 1.20.2-2.fc41 fedora 150.6 KiB efi-srpm-macros noarch 5-12.fc41 fedora 40.1 KiB elfutils s390x 0.191-8.fc42 copr_base 2.9 MiB elfutils-debuginfod-client s390x 0.191-8.fc42 copr_base 56.4 KiB elfutils-default-yama-scope noarch 0.191-8.fc42 copr_base 1.8 KiB elfutils-libelf s390x 0.191-8.fc42 copr_base 1.2 MiB elfutils-libs s390x 0.191-8.fc42 copr_base 738.0 KiB fedora-gpg-keys noarch 42-0.2 fedora 126.4 KiB fedora-release noarch 42-0.3 fedora 0.0 B fedora-release-identity-basic noarch 42-0.3 fedora 694.0 B fedora-repos noarch 42-0.2 fedora 4.9 KiB fedora-repos-rawhide noarch 42-0.2 fedora 2.2 KiB file s390x 5.45-7.fc42 copr_base 99.2 KiB file-libs s390x 5.45-7.fc42 copr_base 9.9 MiB filesystem s390x 3.18-29.fc42 fedora 106.0 B fonts-srpm-macros noarch 1:2.0.5-17.fc41 fedora 55.8 KiB forge-srpm-macros noarch 0.3.2-1.fc41 fedora 39.0 KiB fpc-srpm-macros noarch 1.3-13.fc41 fedora 144.0 B gdb-minimal s390x 15.1-2.fc42 copr_base 15.0 MiB gdbm s390x 1:1.23-7.fc41 fedora 483.9 KiB gdbm-libs s390x 1:1.23-7.fc41 fedora 133.4 KiB ghc-srpm-macros noarch 1.9.2-1.fc42 fedora 779.0 B glibc s390x 2.40.9000-5.fc42 copr_base 5.1 MiB glibc-common s390x 2.40.9000-5.fc42 copr_base 1.1 MiB glibc-gconv-extra s390x 2.40.9000-5.fc42 copr_base 6.8 MiB gmp s390x 1:6.3.0-2.fc41 fedora 770.0 KiB gnat-srpm-macros noarch 6-6.fc41 fedora 1.0 KiB go-srpm-macros noarch 3.6.0-3.fc41 fedora 60.8 KiB jansson s390x 2.13.1-10.fc41 fedora 92.1 KiB kernel-srpm-macros noarch 1.0-24.fc41 fedora 1.9 KiB keyutils-libs s390x 1.6.3-4.fc41 fedora 54.2 KiB krb5-libs s390x 1.21.3-2.fc41 fedora 2.4 MiB libacl s390x 2.3.2-2.fc41 fedora 43.8 KiB libarchive s390x 3.7.6-1.fc42 copr_base 1.0 MiB libattr s390x 2.5.2-4.fc41 fedora 28.3 KiB libblkid s390x 2.40.2-8.fc42 fedora 286.4 KiB libbrotli s390x 1.1.0-5.fc41 fedora 925.1 KiB libcap s390x 2.70-4.fc41 fedora 234.2 KiB libcap-ng s390x 0.8.5-3.fc41 fedora 76.7 KiB libcom_err s390x 1.47.1-3.fc41 fedora 67.0 KiB libcurl s390x 8.10.1-2.fc42 copr_base 882.3 KiB libeconf s390x 0.6.2-3.fc41 fedora 61.8 KiB libevent s390x 2.1.12-14.fc41 fedora 938.8 KiB libfdisk s390x 2.40.2-8.fc42 fedora 394.8 KiB libffi s390x 3.4.6-3.fc42 fedora 65.9 KiB libgcc s390x 14.2.1-3.fc42 fedora 177.2 KiB libgomp s390x 14.2.1-3.fc42 fedora 531.2 KiB libidn2 s390x 2.3.7-2.fc41 fedora 328.9 KiB libmount s390x 2.40.2-8.fc42 fedora 375.8 KiB libnghttp2 s390x 1.63.0-1.fc42 copr_base 174.0 KiB libnsl2 s390x 2.0.1-2.fc41 fedora 61.7 KiB libpkgconf s390x 2.3.0-1.fc42 fedora 85.9 KiB libpsl s390x 0.21.5-4.fc41 fedora 80.3 KiB libpwquality s390x 1.4.5-11.fc41 fedora 420.9 KiB libselinux s390x 3.7-6.fc42 fedora 192.9 KiB libsemanage s390x 3.7-3.fc42 fedora 305.4 KiB libsepol s390x 3.7-3.fc42 fedora 849.8 KiB libsmartcols s390x 2.40.2-8.fc42 fedora 192.2 KiB libssh s390x 0.11.1-1.fc42 copr_base 581.3 KiB libssh-config noarch 0.11.1-1.fc42 copr_base 277.0 B libstdc++ s390x 14.2.1-3.fc42 fedora 3.1 MiB libtasn1 s390x 4.19.0-9.fc41 fedora 187.5 KiB libtirpc s390x 1.3.5-0.fc41 fedora 218.5 KiB libtool-ltdl s390x 2.4.7-12.fc41 fedora 74.0 KiB libunistring s390x 1.1-8.fc41 fedora 1.8 MiB libuuid s390x 2.40.2-8.fc42 fedora 41.2 KiB libverto s390x 0.3.2-9.fc41 fedora 29.3 KiB libxcrypt s390x 4.4.36-7.fc41 fedora 274.7 KiB libxml2 s390x 2.12.8-2.fc42 copr_base 1.9 MiB libzstd s390x 1.5.6-2.fc41 fedora 875.7 KiB lua-libs s390x 5.4.6-6.fc41 fedora 320.9 KiB lua-srpm-macros noarch 1-14.fc41 fedora 1.3 KiB lz4-libs s390x 1.10.0-1.fc41 fedora 201.3 KiB mpfr s390x 4.2.1-5.fc41 fedora 698.7 KiB ncurses-base noarch 6.5-2.20240629.fc41 fedora 326.3 KiB ncurses-libs s390x 6.5-2.20240629.fc41 fedora 1.1 MiB ocaml-srpm-macros noarch 10-3.fc41 fedora 1.9 KiB openblas-srpm-macros noarch 2-18.fc41 fedora 112.0 B openldap s390x 2.6.8-5.fc41 fedora 683.6 KiB openssl-libs s390x 1:3.2.2-9.fc42 copr_base 6.1 MiB p11-kit s390x 0.25.5-3.fc41 fedora 2.5 MiB p11-kit-trust s390x 0.25.5-3.fc41 fedora 475.2 KiB package-notes-srpm-macros noarch 0.5-12.fc41 fedora 1.6 KiB pam s390x 1.6.1-6.fc42 fedora 1.8 MiB pam-libs s390x 1.6.1-6.fc42 fedora 138.4 KiB pcre2 s390x 10.44-1.fc41.1 fedora 684.9 KiB pcre2-syntax noarch 10.44-1.fc41.1 fedora 251.6 KiB perl-srpm-macros noarch 1-56.fc41 fedora 861.0 B pkgconf s390x 2.3.0-1.fc42 fedora 92.4 KiB pkgconf-m4 noarch 2.3.0-1.fc42 fedora 14.4 KiB pkgconf-pkg-config s390x 2.3.0-1.fc42 fedora 988.0 B popt s390x 1.19-7.fc41 fedora 144.7 KiB publicsuffix-list-dafsa noarch 20240107-4.fc41 fedora 67.5 KiB pyproject-srpm-macros noarch 1.15.0-1.fc42 fedora 1.9 KiB python-srpm-macros noarch 3.13-3.fc41 fedora 51.0 KiB qt5-srpm-macros noarch 5.15.15-1.fc42 fedora 500.0 B qt6-srpm-macros noarch 6.7.2-3.fc41 fedora 456.0 B readline s390x 8.2-11.fc42 fedora 556.8 KiB rpm s390x 4.19.94-1.fc42 fedora 3.1 MiB rpm-build-libs s390x 4.19.94-1.fc42 fedora 218.4 KiB rpm-libs s390x 4.19.94-1.fc42 fedora 813.6 KiB rpm-sequoia s390x 1.7.0-2.fc41 fedora 3.2 MiB rust-srpm-macros noarch 26.3-3.fc42 fedora 4.8 KiB setup noarch 2.15.0-5.fc41 fedora 720.7 KiB sqlite-libs s390x 3.46.0-4.fc41 fedora 1.6 MiB systemd-libs s390x 256.5-1.fc42 fedora 2.1 MiB util-linux-core s390x 2.40.2-8.fc42 fedora 1.5 MiB xxhash-libs s390x 0.8.2-3.fc41 fedora 68.0 KiB xz-libs s390x 1:5.6.2-2.fc41 fedora 226.1 KiB zig-srpm-macros noarch 1-3.fc41 fedora 1.1 KiB zip s390x 3.0-41.fc41 fedora 750.2 KiB zlib-ng-compat s390x 2.2.2-1.fc42 copr_base 117.3 KiB zstd s390x 1.5.6-2.fc41 fedora 1.8 MiB Installing groups: Buildsystem building group Transaction Summary: Installing: 153 packages Total size of inbound packages is 54 MiB. Need to download 54 MiB. After this operation, 183 MiB extra will be used (install 183 MiB, remove 0 B). [ 1/153] bzip2-0:1.0.8-19.fc41.s390x 100% | 10.6 KiB/s | 53.2 KiB | 00m05s [ 2/153] coreutils-0:9.5-9.fc42.s390x 100% | 238.5 KiB/s | 1.2 MiB | 00m05s [ 3/153] bash-0:5.2.32-2.fc42.s390x 100% | 373.4 KiB/s | 1.8 MiB | 00m05s [ 4/153] cpio-0:2.15-2.fc41.s390x 100% | 4.5 MiB/s | 296.6 KiB | 00m00s [ 5/153] fedora-release-common-0:42-0. 100% | 2.8 MiB/s | 23.0 KiB | 00m00s [ 6/153] diffutils-0:3.10-8.fc41.s390x 100% | 8.5 MiB/s | 418.8 KiB | 00m00s [ 7/153] gawk-0:5.3.0-4.fc41.s390x 100% | 19.7 MiB/s | 1.1 MiB | 00m00s [ 8/153] gzip-0:1.13-2.fc41.s390x 100% | 11.5 MiB/s | 177.2 KiB | 00m00s [ 9/153] grep-0:3.11-9.fc41.s390x 100% | 5.8 MiB/s | 306.6 KiB | 00m00s [ 10/153] info-0:7.1.1-1.fc42.s390x 100% | 11.1 MiB/s | 193.3 KiB | 00m00s [ 11/153] findutils-1:4.10.0-4.fc41.s39 100% | 5.5 MiB/s | 557.5 KiB | 00m00s [ 12/153] redhat-rpm-config-0:296-1.fc4 100% | 10.1 MiB/s | 82.4 KiB | 00m00s [ 13/153] rpm-build-0:4.19.94-1.fc42.s3 100% | 10.2 MiB/s | 83.9 KiB | 00m00s [ 14/153] patch-0:2.7.6-25.fc41.s390x 100% | 8.1 MiB/s | 140.4 KiB | 00m00s [ 15/153] sed-0:4.9-3.fc41.s390x 100% | 14.2 MiB/s | 320.2 KiB | 00m00s [ 16/153] unzip-0:6.0-64.fc41.s390x 100% | 7.3 MiB/s | 194.1 KiB | 00m00s [ 17/153] tar-2:1.35-4.fc41.s390x 100% | 12.1 MiB/s | 877.7 KiB | 00m00s [ 18/153] which-0:2.21-42.fc41.s390x 100% | 3.8 MiB/s | 43.0 KiB | 00m00s [ 19/153] shadow-utils-2:4.16.0-4.fc42. 100% | 15.2 MiB/s | 1.3 MiB | 00m00s [ 20/153] util-linux-0:2.40.2-8.fc42.s3 100% | 20.8 MiB/s | 1.1 MiB | 00m00s [ 21/153] xz-1:5.6.2-2.fc41.s390x 100% | 15.4 MiB/s | 473.2 KiB | 00m00s [ 22/153] filesystem-0:3.18-29.fc42.s39 100% | 32.0 MiB/s | 1.1 MiB | 00m00s [ 23/153] ncurses-libs-0:6.5-2.20240629 100% | 15.3 MiB/s | 360.6 KiB | 00m00s [ 24/153] bzip2-libs-0:1.0.8-19.fc41.s3 100% | 5.7 MiB/s | 46.3 KiB | 00m00s [ 25/153] gmp-1:6.3.0-2.fc41.s390x 100% | 11.4 MiB/s | 326.3 KiB | 00m00s [ 26/153] libacl-0:2.3.2-2.fc41.s390x 100% | 2.8 MiB/s | 25.4 KiB | 00m00s [ 27/153] libattr-0:2.5.2-4.fc41.s390x 100% | 2.3 MiB/s | 18.4 KiB | 00m00s [ 28/153] coreutils-common-0:9.5-9.fc42 100% | 38.6 MiB/s | 2.1 MiB | 00m00s [ 29/153] libcap-0:2.70-4.fc41.s390x 100% | 10.9 MiB/s | 89.0 KiB | 00m00s [ 30/153] libselinux-0:3.7-6.fc42.s390x 100% | 9.9 MiB/s | 91.5 KiB | 00m00s [ 31/153] fedora-repos-0:42-0.2.noarch 100% | 1.1 MiB/s | 9.2 KiB | 00m00s [ 32/153] mpfr-0:4.2.1-5.fc41.s390x 100% | 17.1 MiB/s | 297.8 KiB | 00m00s [ 33/153] readline-0:8.2-11.fc42.s390x 100% | 14.0 MiB/s | 229.7 KiB | 00m00s [ 34/153] systemd-libs-0:256.5-1.fc42.s 100% | 12.1 MiB/s | 744.9 KiB | 00m00s [ 35/153] ed-0:1.20.2-2.fc41.s390x 100% | 10.2 MiB/s | 83.3 KiB | 00m00s [ 36/153] ansible-srpm-macros-0:1-16.fc 100% | 2.5 MiB/s | 20.8 KiB | 00m00s [ 37/153] build-reproducibility-srpm-ma 100% | 1.3 MiB/s | 10.6 KiB | 00m00s [ 38/153] pcre2-0:10.44-1.fc41.1.s390x 100% | 5.7 MiB/s | 260.8 KiB | 00m00s [ 39/153] efi-srpm-macros-0:5-12.fc41.n 100% | 2.7 MiB/s | 22.4 KiB | 00m00s [ 40/153] dwz-0:0.15-7.fc41.s390x 100% | 9.4 MiB/s | 144.0 KiB | 00m00s [ 41/153] fonts-srpm-macros-1:2.0.5-17. 100% | 3.3 MiB/s | 27.0 KiB | 00m00s [ 42/153] forge-srpm-macros-0:0.3.2-1.f 100% | 2.4 MiB/s | 19.7 KiB | 00m00s [ 43/153] fpc-srpm-macros-0:1.3-13.fc41 100% | 995.2 KiB/s | 8.0 KiB | 00m00s [ 44/153] ghc-srpm-macros-0:1.9.2-1.fc4 100% | 1.1 MiB/s | 9.1 KiB | 00m00s [ 45/153] gnat-srpm-macros-0:6-6.fc41.n 100% | 1.1 MiB/s | 9.0 KiB | 00m00s [ 46/153] go-srpm-macros-0:3.6.0-3.fc41 100% | 3.4 MiB/s | 28.0 KiB | 00m00s [ 47/153] kernel-srpm-macros-0:1.0-24.f 100% | 1.2 MiB/s | 9.9 KiB | 00m00s [ 48/153] lua-srpm-macros-0:1-14.fc41.n 100% | 1.1 MiB/s | 8.9 KiB | 00m00s [ 49/153] ocaml-srpm-macros-0:10-3.fc41 100% | 1.1 MiB/s | 9.2 KiB | 00m00s [ 50/153] openblas-srpm-macros-0:2-18.f 100% | 964.4 KiB/s | 7.7 KiB | 00m00s [ 51/153] package-notes-srpm-macros-0:0 100% | 1.2 MiB/s | 9.8 KiB | 00m00s [ 52/153] perl-srpm-macros-0:1-56.fc41. 100% | 1.0 MiB/s | 8.5 KiB | 00m00s [ 53/153] pyproject-srpm-macros-0:1.15. 100% | 1.7 MiB/s | 13.5 KiB | 00m00s [ 54/153] python-srpm-macros-0:3.13-3.f 100% | 2.9 MiB/s | 23.7 KiB | 00m00s [ 55/153] qt5-srpm-macros-0:5.15.15-1.f 100% | 1.1 MiB/s | 8.9 KiB | 00m00s [ 56/153] qt6-srpm-macros-0:6.7.2-3.fc4 100% | 1.1 MiB/s | 9.1 KiB | 00m00s [ 57/153] rust-srpm-macros-0:26.3-3.fc4 100% | 1.5 MiB/s | 12.1 KiB | 00m00s [ 58/153] zig-srpm-macros-0:1-3.fc41.no 100% | 1.0 MiB/s | 8.1 KiB | 00m00s [ 59/153] rpm-0:4.19.94-1.fc42.s390x 100% | 14.4 MiB/s | 546.6 KiB | 00m00s [ 60/153] zip-0:3.0-41.fc41.s390x 100% | 12.0 MiB/s | 282.1 KiB | 00m00s [ 61/153] debugedit-0:5.0-17.fc41.s390x 100% | 10.1 MiB/s | 82.4 KiB | 00m00s [ 62/153] pkgconf-pkg-config-0:2.3.0-1. 100% | 1.1 MiB/s | 9.9 KiB | 00m00s [ 63/153] popt-0:1.19-7.fc41.s390x 100% | 8.4 MiB/s | 68.5 KiB | 00m00s [ 64/153] rpm-build-libs-0:4.19.94-1.fc 100% | 10.9 MiB/s | 100.9 KiB | 00m00s [ 65/153] zstd-0:1.5.6-2.fc41.s390x 100% | 24.1 MiB/s | 517.6 KiB | 00m00s [ 66/153] audit-libs-0:4.0.2-1.fc41.s39 100% | 13.7 MiB/s | 126.6 KiB | 00m00s [ 67/153] libeconf-0:0.6.2-3.fc41.s390x 100% | 4.2 MiB/s | 34.1 KiB | 00m00s [ 68/153] rpm-libs-0:4.19.94-1.fc42.s39 100% | 6.5 MiB/s | 324.6 KiB | 00m00s [ 69/153] libsemanage-0:3.7-3.fc42.s390 100% | 12.9 MiB/s | 119.3 KiB | 00m00s [ 70/153] libxcrypt-0:4.4.36-7.fc41.s39 100% | 13.4 MiB/s | 123.7 KiB | 00m00s [ 71/153] pam-libs-0:1.6.1-6.fc42.s390x 100% | 7.2 MiB/s | 58.7 KiB | 00m00s [ 72/153] setup-0:2.15.0-5.fc41.noarch 100% | 8.4 MiB/s | 154.4 KiB | 00m00s [ 73/153] glibc-minimal-langpack-0:2.40 100% | 284.2 KiB/s | 121.1 KiB | 00m00s [ 74/153] authselect-libs-0:1.5.0-7.fc4 100% | 7.3 MiB/s | 217.2 KiB | 00m00s [ 75/153] libblkid-0:2.40.2-8.fc42.s390 100% | 8.0 MiB/s | 130.8 KiB | 00m00s [ 76/153] libcap-ng-0:0.8.5-3.fc41.s390 100% | 4.0 MiB/s | 33.2 KiB | 00m00s [ 77/153] libfdisk-0:2.40.2-8.fc42.s390 100% | 12.4 MiB/s | 165.6 KiB | 00m00s [ 78/153] libsmartcols-0:2.40.2-8.fc42. 100% | 8.4 MiB/s | 86.0 KiB | 00m00s [ 79/153] libmount-0:2.40.2-8.fc42.s390 100% | 8.7 MiB/s | 159.7 KiB | 00m00s [ 80/153] libuuid-0:2.40.2-8.fc42.s390x 100% | 3.6 MiB/s | 29.2 KiB | 00m00s [ 81/153] xz-libs-1:5.6.2-2.fc41.s390x 100% | 12.8 MiB/s | 118.0 KiB | 00m00s [ 82/153] util-linux-core-0:2.40.2-8.fc 100% | 17.1 MiB/s | 543.8 KiB | 00m00s [ 83/153] pam-0:1.6.1-6.fc42.s390x 100% | 9.3 MiB/s | 561.8 KiB | 00m00s [ 84/153] ncurses-base-0:6.5-2.20240629 100% | 10.8 MiB/s | 88.4 KiB | 00m00s [ 85/153] libgcc-0:14.2.1-3.fc42.s390x 100% | 9.8 MiB/s | 90.3 KiB | 00m00s [ 86/153] libsepol-0:3.7-3.fc42.s390x 100% | 15.4 MiB/s | 347.7 KiB | 00m00s [ 87/153] fedora-gpg-keys-0:42-0.2.noar 100% | 8.7 MiB/s | 133.6 KiB | 00m00s [ 88/153] fedora-repos-rawhide-0:42-0.2 100% | 1.1 MiB/s | 8.7 KiB | 00m00s [ 89/153] pcre2-syntax-0:10.44-1.fc41.1 100% | 11.3 MiB/s | 149.9 KiB | 00m00s [ 90/153] add-determinism-0:0.3.6-1.fc4 100% | 15.8 MiB/s | 1.0 MiB | 00m00s [ 91/153] pkgconf-0:2.3.0-1.fc42.s390x 100% | 5.6 MiB/s | 45.8 KiB | 00m00s [ 92/153] pkgconf-m4-0:2.3.0-1.fc42.noa 100% | 1.7 MiB/s | 14.3 KiB | 00m00s [ 93/153] libgomp-0:14.2.1-3.fc42.s390x 100% | 13.4 MiB/s | 357.7 KiB | 00m00s [ 94/153] lua-libs-0:5.4.6-6.fc41.s390x 100% | 9.2 MiB/s | 141.7 KiB | 00m00s [ 95/153] libzstd-0:1.5.6-2.fc41.s390x 100% | 13.0 MiB/s | 346.9 KiB | 00m00s [ 96/153] rpm-sequoia-0:1.7.0-2.fc41.s3 100% | 30.1 MiB/s | 1.0 MiB | 00m00s [ 97/153] sqlite-libs-0:3.46.0-4.fc41.s 100% | 31.2 MiB/s | 765.9 KiB | 00m00s [ 98/153] libstdc++-0:14.2.1-3.fc42.s39 100% | 15.8 MiB/s | 989.1 KiB | 00m00s [ 99/153] lz4-libs-0:1.10.0-1.fc41.s390 100% | 11.6 MiB/s | 94.7 KiB | 00m00s [100/153] authselect-0:1.5.0-7.fc41.s39 100% | 9.5 MiB/s | 145.2 KiB | 00m00s [101/153] glibc-common-0:2.40.9000-5.fc 100% | 1.0 MiB/s | 419.1 KiB | 00m00s [102/153] gdbm-libs-1:1.23-7.fc41.s390x 100% | 7.1 MiB/s | 58.0 KiB | 00m00s [103/153] libnsl2-0:2.0.1-2.fc41.s390x 100% | 3.6 MiB/s | 29.5 KiB | 00m00s [104/153] gdbm-1:1.23-7.fc41.s390x 100% | 6.1 MiB/s | 155.4 KiB | 00m00s [105/153] glibc-0:2.40.9000-5.fc42.s390 100% | 4.2 MiB/s | 1.9 MiB | 00m00s [106/153] libpwquality-0:1.4.5-11.fc41. 100% | 13.0 MiB/s | 119.9 KiB | 00m00s [107/153] libtirpc-0:1.3.5-0.fc41.s390x 100% | 10.5 MiB/s | 96.7 KiB | 00m00s [108/153] basesystem-0:11-21.fc41.noarc 100% | 921.5 KiB/s | 7.4 KiB | 00m00s [109/153] libpkgconf-0:2.3.0-1.fc42.s39 100% | 4.8 MiB/s | 39.0 KiB | 00m00s [110/153] libcom_err-0:1.47.1-3.fc41.s3 100% | 3.2 MiB/s | 26.4 KiB | 00m00s [111/153] crypto-policies-0:20240828-1. 100% | 10.3 MiB/s | 94.6 KiB | 00m00s [112/153] keyutils-libs-0:1.6.3-4.fc41. 100% | 3.8 MiB/s | 31.5 KiB | 00m00s [113/153] libverto-0:0.3.2-9.fc41.s390x 100% | 2.3 MiB/s | 20.9 KiB | 00m00s [114/153] krb5-libs-0:1.21.3-2.fc41.s39 100% | 18.2 MiB/s | 781.9 KiB | 00m00s [115/153] glibc-gconv-extra-0:2.40.9000 100% | 8.9 MiB/s | 1.7 MiB | 00m00s [116/153] zlib-ng-compat-0:2.2.2-1.fc42 100% | 439.1 KiB/s | 66.3 KiB | 00m00s [117/153] libffi-0:3.4.6-3.fc42.s390x 100% | 4.4 MiB/s | 36.0 KiB | 00m00s [118/153] openssl-libs-1:3.2.2-9.fc42.s 100% | 10.4 MiB/s | 2.1 MiB | 00m00s [119/153] p11-kit-0:0.25.5-3.fc41.s390x 100% | 11.6 MiB/s | 533.0 KiB | 00m00s [120/153] libtasn1-0:4.19.0-9.fc41.s390 100% | 9.5 MiB/s | 78.0 KiB | 00m00s [121/153] p11-kit-trust-0:0.25.5-3.fc41 100% | 7.4 MiB/s | 143.2 KiB | 00m00s [122/153] alternatives-0:1.30-1.fc41.s3 100% | 5.3 MiB/s | 43.4 KiB | 00m00s [123/153] ca-certificates-0:2024.2.69_v 100% | 9.0 MiB/s | 944.3 KiB | 00m00s [124/153] elfutils-libelf-0:0.191-8.fc4 100% | 1.4 MiB/s | 213.7 KiB | 00m00s [125/153] elfutils-libs-0:0.191-8.fc42. 100% | 1.8 MiB/s | 281.9 KiB | 00m00s [126/153] elfutils-0:0.191-8.fc42.s390x 100% | 3.6 MiB/s | 582.9 KiB | 00m00s [127/153] elfutils-debuginfod-client-0: 100% | 500.7 KiB/s | 38.0 KiB | 00m00s [128/153] file-0:5.45-7.fc42.s390x 100% | 653.7 KiB/s | 49.7 KiB | 00m00s [129/153] jansson-0:2.13.1-10.fc41.s390 100% | 3.6 MiB/s | 44.6 KiB | 00m00s [130/153] file-libs-0:5.45-7.fc42.s390x 100% | 4.7 MiB/s | 769.3 KiB | 00m00s [131/153] binutils-0:2.43.50-1.fc42.s39 100% | 19.4 MiB/s | 6.1 MiB | 00m00s [132/153] libarchive-0:3.7.6-1.fc42.s39 100% | 1.6 MiB/s | 446.8 KiB | 00m00s [133/153] curl-0:8.10.1-2.fc42.s390x 100% | 759.0 KiB/s | 226.2 KiB | 00m00s [134/153] elfutils-default-yama-scope-0 100% | 168.0 KiB/s | 12.8 KiB | 00m00s [135/153] cracklib-0:2.9.11-6.fc42.s390 100% | 557.0 KiB/s | 84.1 KiB | 00m00s [136/153] fedora-release-0:42-0.3.noarc 100% | 1.5 MiB/s | 12.2 KiB | 00m00s [137/153] libxml2-0:2.12.8-2.fc42.s390x 100% | 4.4 MiB/s | 708.7 KiB | 00m00s [138/153] xxhash-libs-0:0.8.2-3.fc41.s3 100% | 4.4 MiB/s | 36.4 KiB | 00m00s [139/153] fedora-release-identity-basic 100% | 1.6 MiB/s | 13.0 KiB | 00m00s [140/153] libbrotli-0:1.1.0-5.fc41.s390 100% | 11.0 MiB/s | 381.7 KiB | 00m00s [141/153] libidn2-0:2.3.7-2.fc41.s390x 100% | 12.8 MiB/s | 118.4 KiB | 00m00s [142/153] libpsl-0:0.21.5-4.fc41.s390x 100% | 7.0 MiB/s | 64.5 KiB | 00m00s [143/153] openldap-0:2.6.8-5.fc41.s390x 100% | 9.1 MiB/s | 262.0 KiB | 00m00s [144/153] libunistring-0:1.1-8.fc41.s39 100% | 17.6 MiB/s | 558.7 KiB | 00m00s [145/153] publicsuffix-list-dafsa-0:202 100% | 6.3 MiB/s | 58.3 KiB | 00m00s [146/153] cyrus-sasl-lib-0:2.1.28-27.fc 100% | 29.9 MiB/s | 827.5 KiB | 00m00s [147/153] libevent-0:2.1.12-14.fc41.s39 100% | 19.5 MiB/s | 260.1 KiB | 00m00s [148/153] libtool-ltdl-0:2.4.7-12.fc41. 100% | 4.5 MiB/s | 36.6 KiB | 00m00s [149/153] libcurl-0:8.10.1-2.fc42.s390x 100% | 1.7 MiB/s | 388.5 KiB | 00m00s [150/153] gdb-minimal-0:15.1-2.fc42.s39 100% | 18.3 MiB/s | 4.6 MiB | 00m00s [151/153] libssh-config-0:0.11.1-1.fc42 100% | 129.6 KiB/s | 9.9 KiB | 00m00s [152/153] libnghttp2-0:1.63.0-1.fc42.s3 100% | 530.8 KiB/s | 80.2 KiB | 00m00s [153/153] libssh-0:0.11.1-1.fc42.s390x 100% | 1.5 MiB/s | 230.4 KiB | 00m00s -------------------------------------------------------------------------------- [153/153] Total 100% | 4.3 MiB/s | 53.7 MiB | 00m13s Running transaction Importing PGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing PGP key 0x105EF944: UserID : "Fedora (42) " Fingerprint: B0F4950458F69E1150C6C5EDC8AC4916105EF944 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-42-primary The key was successfully imported. Importing PGP key 0xE99D6AD1: UserID : "Fedora (41) " Fingerprint: 466CF2D8B60BC3057AA9453ED0622462E99D6AD1 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-41-primary The key was successfully imported. Importing PGP key 0x31645531: UserID : "Fedora (43) " Fingerprint: C6E7F081CF80E13146676E88829B606631645531 From : file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-43-primary The key was successfully imported. [ 1/155] Verify package files 100% | 742.0 B/s | 153.0 B | 00m00s [ 2/155] Prepare transaction 100% | 2.8 KiB/s | 153.0 B | 00m00s [ 3/155] Installing libgcc-0:14.2.1-3. 100% | 174.7 MiB/s | 178.9 KiB | 00m00s [ 4/155] Installing libssh-config-0:0. 100% | 0.0 B/s | 816.0 B | 00m00s [ 5/155] Installing publicsuffix-list- 100% | 66.7 MiB/s | 68.3 KiB | 00m00s [ 6/155] Installing fedora-release-ide 100% | 0.0 B/s | 952.0 B | 00m00s [ 7/155] Installing fedora-repos-rawhi 100% | 2.4 MiB/s | 2.4 KiB | 00m00s [ 8/155] Installing fedora-gpg-keys-0: 100% | 42.0 MiB/s | 172.2 KiB | 00m00s [ 9/155] Installing fedora-repos-0:42- 100% | 0.0 B/s | 5.7 KiB | 00m00s [ 10/155] Installing fedora-release-com 100% | 23.1 MiB/s | 23.7 KiB | 00m00s [ 11/155] Installing fedora-release-0:4 100% | 0.0 B/s | 124.0 B | 00m00s [ 12/155] Installing setup-0:2.15.0-5.f 100% | 47.3 MiB/s | 726.1 KiB | 00m00s [ 13/155] Installing filesystem-0:3.18- 100% | 3.1 MiB/s | 212.6 KiB | 00m00s [ 14/155] Installing basesystem-0:11-21 100% | 0.0 B/s | 124.0 B | 00m00s [ 15/155] Installing pkgconf-m4-0:2.3.0 100% | 0.0 B/s | 14.8 KiB | 00m00s [ 16/155] Installing pcre2-syntax-0:10. 100% | 124.1 MiB/s | 254.1 KiB | 00m00s [ 17/155] Installing ncurses-base-0:6.5 100% | 68.7 MiB/s | 351.7 KiB | 00m00s [ 18/155] Installing glibc-minimal-lang 100% | 0.0 B/s | 124.0 B | 00m00s [ 19/155] Installing ncurses-libs-0:6.5 100% | 177.1 MiB/s | 1.1 MiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [ 20/155] Installing glibc-0:2.40.9000- 100% | 159.8 MiB/s | 5.1 MiB | 00m00s [ 21/155] Installing bash-0:5.2.32-2.fc 100% | 278.8 MiB/s | 8.4 MiB | 00m00s [ 22/155] Installing glibc-common-0:2.4 100% | 153.6 MiB/s | 1.1 MiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [ 23/155] Installing glibc-gconv-extra- 100% | 185.5 MiB/s | 6.9 MiB | 00m00s [ 24/155] Installing zlib-ng-compat-0:2 100% | 115.3 MiB/s | 118.1 KiB | 00m00s [ 25/155] Installing bzip2-libs-0:1.0.8 100% | 87.5 MiB/s | 89.6 KiB | 00m00s [ 26/155] Installing xz-libs-1:5.6.2-2. 100% | 221.9 MiB/s | 227.2 KiB | 00m00s [ 27/155] Installing readline-0:8.2-11. 100% | 272.9 MiB/s | 558.9 KiB | 00m00s [ 28/155] Installing popt-0:1.19-7.fc41 100% | 73.9 MiB/s | 151.3 KiB | 00m00s [ 29/155] Installing libuuid-0:2.40.2-8 100% | 0.0 B/s | 42.3 KiB | 00m00s [ 30/155] Installing libblkid-0:2.40.2- 100% | 140.4 MiB/s | 287.6 KiB | 00m00s [ 31/155] Installing gmp-1:6.3.0-2.fc41 100% | 188.5 MiB/s | 772.2 KiB | 00m00s [ 32/155] Installing libattr-0:2.5.2-4. 100% | 0.0 B/s | 29.3 KiB | 00m00s [ 33/155] Installing libacl-0:2.3.2-2.f 100% | 43.6 MiB/s | 44.6 KiB | 00m00s [ 34/155] Installing libxcrypt-0:4.4.36 100% | 135.5 MiB/s | 277.4 KiB | 00m00s [ 35/155] Installing libzstd-0:1.5.6-2. 100% | 214.1 MiB/s | 877.0 KiB | 00m00s [ 36/155] Installing elfutils-libelf-0: 100% | 294.2 MiB/s | 1.2 MiB | 00m00s [ 37/155] Installing libstdc++-0:14.2.1 100% | 260.2 MiB/s | 3.1 MiB | 00m00s [ 38/155] Installing libeconf-0:0.6.2-3 100% | 62.0 MiB/s | 63.5 KiB | 00m00s [ 39/155] Installing gdbm-libs-1:1.23-7 100% | 132.0 MiB/s | 135.1 KiB | 00m00s [ 40/155] Installing dwz-0:0.15-7.fc41. 100% | 156.2 MiB/s | 320.0 KiB | 00m00s [ 41/155] Installing mpfr-0:4.2.1-5.fc4 100% | 171.0 MiB/s | 700.4 KiB | 00m00s [ 42/155] Installing gawk-0:5.3.0-4.fc4 100% | 226.8 MiB/s | 1.8 MiB | 00m00s [ 43/155] Installing unzip-0:6.0-64.fc4 100% | 201.9 MiB/s | 413.5 KiB | 00m00s [ 44/155] Installing file-libs-0:5.45-7 100% | 473.4 MiB/s | 9.9 MiB | 00m00s [ 45/155] Installing file-0:5.45-7.fc42 100% | 19.7 MiB/s | 100.7 KiB | 00m00s [ 46/155] Installing crypto-policies-0: 100% | 31.9 MiB/s | 163.2 KiB | 00m00s [ 47/155] Installing pcre2-0:10.44-1.fc 100% | 223.4 MiB/s | 686.3 KiB | 00m00s [ 48/155] Installing grep-0:3.11-9.fc41 100% | 169.8 MiB/s | 1.0 MiB | 00m00s [ 49/155] Installing xz-1:5.6.2-2.fc41. 100% | 201.4 MiB/s | 1.2 MiB | 00m00s [ 50/155] Installing libcap-ng-0:0.8.5- 100% | 76.7 MiB/s | 78.6 KiB | 00m00s [ 51/155] Installing audit-libs-0:4.0.2 100% | 172.4 MiB/s | 353.0 KiB | 00m00s [ 52/155] Installing pam-libs-0:1.6.1-6 100% | 137.5 MiB/s | 140.8 KiB | 00m00s [ 53/155] Installing libcap-0:2.70-4.fc 100% | 116.8 MiB/s | 239.2 KiB | 00m00s [ 54/155] Installing systemd-libs-0:256 100% | 230.9 MiB/s | 2.1 MiB | 00m00s [ 55/155] Installing libsmartcols-0:2.4 100% | 188.7 MiB/s | 193.2 KiB | 00m00s [ 56/155] Installing libsepol-0:3.7-3.f 100% | 207.7 MiB/s | 850.7 KiB | 00m00s [ 57/155] Installing libselinux-0:3.7-6 100% | 189.6 MiB/s | 194.2 KiB | 00m00s [ 58/155] Installing sed-0:4.9-3.fc41.s 100% | 172.1 MiB/s | 881.4 KiB | 00m00s [ 59/155] Installing findutils-1:4.10.0 100% | 270.4 MiB/s | 1.9 MiB | 00m00s [ 60/155] Installing libmount-0:2.40.2- 100% | 184.0 MiB/s | 376.9 KiB | 00m00s [ 61/155] Installing lua-libs-0:5.4.6-6 100% | 157.3 MiB/s | 322.1 KiB | 00m00s [ 62/155] Installing lz4-libs-0:1.10.0- 100% | 197.6 MiB/s | 202.4 KiB | 00m00s [ 63/155] Installing libcom_err-0:1.47. 100% | 0.0 B/s | 68.1 KiB | 00m00s [ 64/155] Installing libffi-0:3.4.6-3.f 100% | 65.7 MiB/s | 67.3 KiB | 00m00s [ 65/155] Installing libtasn1-0:4.19.0- 100% | 184.9 MiB/s | 189.3 KiB | 00m00s [ 66/155] Installing p11-kit-0:0.25.5-3 100% | 227.6 MiB/s | 2.5 MiB | 00m00s [ 67/155] Installing alternatives-0:1.3 100% | 70.0 MiB/s | 71.7 KiB | 00m00s [ 68/155] Installing libunistring-0:1.1 100% | 253.3 MiB/s | 1.8 MiB | 00m00s [ 69/155] Installing libidn2-0:2.3.7-2. 100% | 109.0 MiB/s | 334.9 KiB | 00m00s [ 70/155] Installing libpsl-0:0.21.5-4. 100% | 79.5 MiB/s | 81.4 KiB | 00m00s [ 71/155] Installing p11-kit-trust-0:0. 100% | 77.6 MiB/s | 476.8 KiB | 00m00s [ 72/155] Installing zstd-0:1.5.6-2.fc4 100% | 229.4 MiB/s | 1.8 MiB | 00m00s [ 73/155] Installing util-linux-core-0: 100% | 192.9 MiB/s | 1.5 MiB | 00m00s [ 74/155] Installing tar-2:1.35-4.fc41. 100% | 274.6 MiB/s | 3.0 MiB | 00m00s [ 75/155] Installing libsemanage-0:3.7- 100% | 100.0 MiB/s | 307.1 KiB | 00m00s [ 76/155] Installing shadow-utils-2:4.1 100% | 198.9 MiB/s | 4.2 MiB | 00m00s [ 77/155] Installing zip-0:3.0-41.fc41. 100% | 245.5 MiB/s | 754.1 KiB | 00m00s [ 78/155] Installing gdbm-1:1.23-7.fc41 100% | 159.1 MiB/s | 488.8 KiB | 00m00s [ 79/155] Installing cyrus-sasl-lib-0:2 100% | 265.4 MiB/s | 2.4 MiB | 00m00s [ 80/155] Installing libfdisk-0:2.40.2- 100% | 193.3 MiB/s | 395.9 KiB | 00m00s [ 81/155] Installing libxml2-0:2.12.8-2 100% | 234.4 MiB/s | 1.9 MiB | 00m00s [ 82/155] Installing bzip2-0:1.0.8-19.f 100% | 101.3 MiB/s | 103.7 KiB | 00m00s [ 83/155] Installing add-determinism-0: 100% | 253.8 MiB/s | 3.0 MiB | 00m00s [ 84/155] Installing build-reproducibil 100% | 0.0 B/s | 1.0 KiB | 00m00s [ 85/155] Installing sqlite-libs-0:3.46 100% | 227.1 MiB/s | 1.6 MiB | 00m00s [ 86/155] Installing ed-0:1.20.2-2.fc41 100% | 149.3 MiB/s | 152.9 KiB | 00m00s [ 87/155] Installing patch-0:2.7.6-25.f 100% | 146.4 MiB/s | 299.9 KiB | 00m00s [ 88/155] Installing elfutils-default-y 100% | 681.0 KiB/s | 2.0 KiB | 00m00s [ 89/155] Installing elfutils-libs-0:0. 100% | 180.6 MiB/s | 739.9 KiB | 00m00s [ 90/155] Installing cpio-0:2.15-2.fc41 100% | 223.8 MiB/s | 1.1 MiB | 00m00s [ 91/155] Installing diffutils-0:3.10-8 100% | 232.6 MiB/s | 1.6 MiB | 00m00s [ 92/155] Installing libgomp-0:14.2.1-3 100% | 260.1 MiB/s | 532.6 KiB | 00m00s [ 93/155] Installing libpkgconf-0:2.3.0 100% | 84.9 MiB/s | 87.0 KiB | 00m00s [ 94/155] Installing pkgconf-0:2.3.0-1. 100% | 92.7 MiB/s | 94.9 KiB | 00m00s [ 95/155] Installing pkgconf-pkg-config 100% | 0.0 B/s | 1.8 KiB | 00m00s [ 96/155] Installing keyutils-libs-0:1. 100% | 54.3 MiB/s | 55.6 KiB | 00m00s [ 97/155] Installing libverto-0:0.3.2-9 100% | 0.0 B/s | 31.1 KiB | 00m00s [ 98/155] Installing jansson-0:2.13.1-1 100% | 91.3 MiB/s | 93.5 KiB | 00m00s [ 99/155] Installing xxhash-libs-0:0.8. 100% | 67.8 MiB/s | 69.4 KiB | 00m00s [100/155] Installing libbrotli-0:1.1.0- 100% | 226.4 MiB/s | 927.4 KiB | 00m00s [101/155] Installing libtool-ltdl-0:2.4 100% | 0.0 B/s | 75.1 KiB | 00m00s [102/155] Installing libnghttp2-0:1.63. 100% | 171.0 MiB/s | 175.1 KiB | 00m00s [103/155] Installing rust-srpm-macros-0 100% | 0.0 B/s | 5.6 KiB | 00m00s [104/155] Installing qt6-srpm-macros-0: 100% | 0.0 B/s | 732.0 B | 00m00s [105/155] Installing qt5-srpm-macros-0: 100% | 0.0 B/s | 776.0 B | 00m00s [106/155] Installing perl-srpm-macros-0 100% | 0.0 B/s | 1.1 KiB | 00m00s [107/155] Installing package-notes-srpm 100% | 0.0 B/s | 2.0 KiB | 00m00s [108/155] Installing openblas-srpm-macr 100% | 0.0 B/s | 392.0 B | 00m00s [109/155] Installing ocaml-srpm-macros- 100% | 0.0 B/s | 2.2 KiB | 00m00s [110/155] Installing kernel-srpm-macros 100% | 0.0 B/s | 2.3 KiB | 00m00s [111/155] Installing gnat-srpm-macros-0 100% | 0.0 B/s | 1.3 KiB | 00m00s [112/155] Installing ghc-srpm-macros-0: 100% | 0.0 B/s | 1.0 KiB | 00m00s [113/155] Installing fpc-srpm-macros-0: 100% | 0.0 B/s | 420.0 B | 00m00s [114/155] Installing ansible-srpm-macro 100% | 35.4 MiB/s | 36.2 KiB | 00m00s [115/155] Installing coreutils-common-0 100% | 302.4 MiB/s | 11.2 MiB | 00m00s [116/155] Installing openssl-libs-1:3.2 100% | 265.5 MiB/s | 6.1 MiB | 00m00s [117/155] Installing coreutils-0:9.5-9. 100% | 247.8 MiB/s | 6.2 MiB | 00m00s [118/155] Installing ca-certificates-0: 100% | 1.7 MiB/s | 2.4 MiB | 00m01s [119/155] Installing krb5-libs-0:1.21.3 100% | 223.0 MiB/s | 2.5 MiB | 00m00s [120/155] Installing libarchive-0:3.7.6 100% | 249.2 MiB/s | 1.0 MiB | 00m00s [121/155] Installing libtirpc-0:1.3.5-0 100% | 215.2 MiB/s | 220.3 KiB | 00m00s [122/155] Installing gzip-0:1.13-2.fc41 100% | 198.4 MiB/s | 406.3 KiB | 00m00s [123/155] Installing authselect-libs-0: 100% | 163.0 MiB/s | 834.5 KiB | 00m00s [124/155] Installing cracklib-0:2.9.11- 100% | 78.6 MiB/s | 241.4 KiB | 00m00s [125/155] Installing libpwquality-0:1.4 100% | 105.8 MiB/s | 433.3 KiB | 00m00s [126/155] Installing libnsl2-0:2.0.1-2. 100% | 61.4 MiB/s | 62.8 KiB | 00m00s [127/155] Installing pam-0:1.6.1-6.fc42 100% | 156.2 MiB/s | 1.9 MiB | 00m00s [128/155] Installing libssh-0:0.11.1-1. 100% | 189.9 MiB/s | 583.4 KiB | 00m00s [129/155] Installing rpm-sequoia-0:1.7. 100% | 265.0 MiB/s | 3.2 MiB | 00m00s [130/155] Installing rpm-libs-0:4.19.94 100% | 199.0 MiB/s | 815.1 KiB | 00m00s [131/155] Installing rpm-build-libs-0:4 100% | 214.1 MiB/s | 219.3 KiB | 00m00s [132/155] Installing libevent-0:2.1.12- 100% | 230.1 MiB/s | 942.6 KiB | 00m00s [133/155] Installing openldap-0:2.6.8-5 100% | 223.8 MiB/s | 687.4 KiB | 00m00s [134/155] Installing libcurl-0:8.10.1-2 100% | 215.7 MiB/s | 883.5 KiB | 00m00s [135/155] Installing elfutils-debuginfo 100% | 57.0 MiB/s | 58.4 KiB | 00m00s [136/155] Installing elfutils-0:0.191-8 100% | 290.0 MiB/s | 2.9 MiB | 00m00s [137/155] Installing binutils-0:2.43.50 100% | 289.3 MiB/s | 26.9 MiB | 00m00s [138/155] Installing gdb-minimal-0:15.1 100% | 276.9 MiB/s | 15.0 MiB | 00m00s [139/155] Installing debugedit-0:5.0-17 100% | 200.7 MiB/s | 205.5 KiB | 00m00s [140/155] Installing curl-0:8.10.1-2.fc 100% | 59.0 MiB/s | 483.6 KiB | 00m00s [141/155] Installing rpm-0:4.19.94-1.fc 100% | 156.5 MiB/s | 2.5 MiB | 00m00s [142/155] Installing efi-srpm-macros-0: 100% | 0.0 B/s | 41.2 KiB | 00m00s [143/155] Installing lua-srpm-macros-0: 100% | 0.0 B/s | 1.9 KiB | 00m00s [144/155] Installing zig-srpm-macros-0: 100% | 0.0 B/s | 1.7 KiB | 00m00s [145/155] Installing fonts-srpm-macros- 100% | 55.7 MiB/s | 57.0 KiB | 00m00s [146/155] Installing forge-srpm-macros- 100% | 0.0 B/s | 40.4 KiB | 00m00s [147/155] Installing go-srpm-macros-0:3 100% | 0.0 B/s | 62.0 KiB | 00m00s [148/155] Installing python-srpm-macros 100% | 50.9 MiB/s | 52.2 KiB | 00m00s [149/155] Installing redhat-rpm-config- 100% | 94.4 MiB/s | 193.2 KiB | 00m00s [150/155] Installing rpm-build-0:4.19.9 100% | 102.1 MiB/s | 209.1 KiB | 00m00s [151/155] Installing pyproject-srpm-mac 100% | 1.2 MiB/s | 2.5 KiB | 00m00s [152/155] Installing util-linux-0:2.40. 100% | 162.1 MiB/s | 3.7 MiB | 00m00s [153/155] Installing authselect-0:1.5.0 100% | 77.0 MiB/s | 157.7 KiB | 00m00s [154/155] Installing which-0:2.21-42.fc 100% | 84.1 MiB/s | 86.1 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [155/155] Installing info-0:7.1.1-1.fc4 100% | 246.4 KiB/s | 409.5 KiB | 00m02s Warning: skipped PGP checks for 23 packages from repository: copr_base 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.3.6-1.fc41.s390x alternatives-1.30-1.fc41.s390x ansible-srpm-macros-1-16.fc41.noarch audit-libs-4.0.2-1.fc41.s390x authselect-1.5.0-7.fc41.s390x authselect-libs-1.5.0-7.fc41.s390x basesystem-11-21.fc41.noarch bash-5.2.32-2.fc42.s390x binutils-2.43.50-1.fc42.s390x build-reproducibility-srpm-macros-0.3.6-1.fc41.noarch bzip2-1.0.8-19.fc41.s390x bzip2-libs-1.0.8-19.fc41.s390x ca-certificates-2024.2.69_v8.0.401-1.fc42.noarch coreutils-9.5-9.fc42.s390x coreutils-common-9.5-9.fc42.s390x cpio-2.15-2.fc41.s390x cracklib-2.9.11-6.fc42.s390x crypto-policies-20240828-1.git5f66e81.fc42.noarch curl-8.10.1-2.fc42.s390x cyrus-sasl-lib-2.1.28-27.fc41.s390x debugedit-5.0-17.fc41.s390x diffutils-3.10-8.fc41.s390x dwz-0.15-7.fc41.s390x ed-1.20.2-2.fc41.s390x efi-srpm-macros-5-12.fc41.noarch elfutils-0.191-8.fc42.s390x elfutils-debuginfod-client-0.191-8.fc42.s390x elfutils-default-yama-scope-0.191-8.fc42.noarch elfutils-libelf-0.191-8.fc42.s390x elfutils-libs-0.191-8.fc42.s390x fedora-gpg-keys-42-0.2.noarch fedora-release-42-0.3.noarch fedora-release-common-42-0.3.noarch fedora-release-identity-basic-42-0.3.noarch fedora-repos-42-0.2.noarch fedora-repos-rawhide-42-0.2.noarch file-5.45-7.fc42.s390x file-libs-5.45-7.fc42.s390x filesystem-3.18-29.fc42.s390x findutils-4.10.0-4.fc41.s390x fonts-srpm-macros-2.0.5-17.fc41.noarch forge-srpm-macros-0.3.2-1.fc41.noarch fpc-srpm-macros-1.3-13.fc41.noarch gawk-5.3.0-4.fc41.s390x gdb-minimal-15.1-2.fc42.s390x gdbm-1.23-7.fc41.s390x gdbm-libs-1.23-7.fc41.s390x ghc-srpm-macros-1.9.2-1.fc42.noarch glibc-2.40.9000-5.fc42.s390x glibc-common-2.40.9000-5.fc42.s390x glibc-gconv-extra-2.40.9000-5.fc42.s390x glibc-minimal-langpack-2.40.9000-5.fc42.s390x gmp-6.3.0-2.fc41.s390x gnat-srpm-macros-6-6.fc41.noarch go-srpm-macros-3.6.0-3.fc41.noarch gpg-pubkey-105ef944-65ca83d1 gpg-pubkey-31645531-66b6dccf gpg-pubkey-e99d6ad1-64d2612c grep-3.11-9.fc41.s390x gzip-1.13-2.fc41.s390x info-7.1.1-1.fc42.s390x jansson-2.13.1-10.fc41.s390x kernel-srpm-macros-1.0-24.fc41.noarch keyutils-libs-1.6.3-4.fc41.s390x krb5-libs-1.21.3-2.fc41.s390x libacl-2.3.2-2.fc41.s390x libarchive-3.7.6-1.fc42.s390x libattr-2.5.2-4.fc41.s390x libblkid-2.40.2-8.fc42.s390x libbrotli-1.1.0-5.fc41.s390x libcap-2.70-4.fc41.s390x libcap-ng-0.8.5-3.fc41.s390x libcom_err-1.47.1-3.fc41.s390x libcurl-8.10.1-2.fc42.s390x libeconf-0.6.2-3.fc41.s390x libevent-2.1.12-14.fc41.s390x libfdisk-2.40.2-8.fc42.s390x libffi-3.4.6-3.fc42.s390x libgcc-14.2.1-3.fc42.s390x libgomp-14.2.1-3.fc42.s390x libidn2-2.3.7-2.fc41.s390x libmount-2.40.2-8.fc42.s390x libnghttp2-1.63.0-1.fc42.s390x libnsl2-2.0.1-2.fc41.s390x libpkgconf-2.3.0-1.fc42.s390x libpsl-0.21.5-4.fc41.s390x libpwquality-1.4.5-11.fc41.s390x libselinux-3.7-6.fc42.s390x libsemanage-3.7-3.fc42.s390x libsepol-3.7-3.fc42.s390x libsmartcols-2.40.2-8.fc42.s390x libssh-0.11.1-1.fc42.s390x libssh-config-0.11.1-1.fc42.noarch libstdc++-14.2.1-3.fc42.s390x libtasn1-4.19.0-9.fc41.s390x libtirpc-1.3.5-0.fc41.s390x libtool-ltdl-2.4.7-12.fc41.s390x libunistring-1.1-8.fc41.s390x libuuid-2.40.2-8.fc42.s390x libverto-0.3.2-9.fc41.s390x libxcrypt-4.4.36-7.fc41.s390x libxml2-2.12.8-2.fc42.s390x libzstd-1.5.6-2.fc41.s390x lua-libs-5.4.6-6.fc41.s390x lua-srpm-macros-1-14.fc41.noarch lz4-libs-1.10.0-1.fc41.s390x mpfr-4.2.1-5.fc41.s390x ncurses-base-6.5-2.20240629.fc41.noarch ncurses-libs-6.5-2.20240629.fc41.s390x ocaml-srpm-macros-10-3.fc41.noarch openblas-srpm-macros-2-18.fc41.noarch openldap-2.6.8-5.fc41.s390x openssl-libs-3.2.2-9.fc42.s390x p11-kit-0.25.5-3.fc41.s390x p11-kit-trust-0.25.5-3.fc41.s390x package-notes-srpm-macros-0.5-12.fc41.noarch pam-1.6.1-6.fc42.s390x pam-libs-1.6.1-6.fc42.s390x patch-2.7.6-25.fc41.s390x pcre2-10.44-1.fc41.1.s390x pcre2-syntax-10.44-1.fc41.1.noarch perl-srpm-macros-1-56.fc41.noarch pkgconf-2.3.0-1.fc42.s390x pkgconf-m4-2.3.0-1.fc42.noarch pkgconf-pkg-config-2.3.0-1.fc42.s390x popt-1.19-7.fc41.s390x publicsuffix-list-dafsa-20240107-4.fc41.noarch pyproject-srpm-macros-1.15.0-1.fc42.noarch python-srpm-macros-3.13-3.fc41.noarch qt5-srpm-macros-5.15.15-1.fc42.noarch qt6-srpm-macros-6.7.2-3.fc41.noarch readline-8.2-11.fc42.s390x redhat-rpm-config-296-1.fc42.noarch rpm-4.19.94-1.fc42.s390x rpm-build-4.19.94-1.fc42.s390x rpm-build-libs-4.19.94-1.fc42.s390x rpm-libs-4.19.94-1.fc42.s390x rpm-sequoia-1.7.0-2.fc41.s390x rust-srpm-macros-26.3-3.fc42.noarch sed-4.9-3.fc41.s390x setup-2.15.0-5.fc41.noarch shadow-utils-4.16.0-4.fc42.s390x sqlite-libs-3.46.0-4.fc41.s390x systemd-libs-256.5-1.fc42.s390x tar-1.35-4.fc41.s390x unzip-6.0-64.fc41.s390x util-linux-2.40.2-8.fc42.s390x util-linux-core-2.40.2-8.fc42.s390x which-2.21-42.fc41.s390x xxhash-libs-0.8.2-3.fc41.s390x xz-5.6.2-2.fc41.s390x xz-libs-5.6.2-2.fc41.s390x zig-srpm-macros-1-3.fc41.noarch zip-3.0-41.fc41.s390x zlib-ng-compat-2.2.2-1.fc42.s390x zstd-1.5.6-2.fc41.s390x Start: buildsrpm Start: rpmbuild -bs Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.src.rpm Finish: rpmbuild -bs cp: preserving permissions for ‘/var/lib/copr-rpmbuild/results/chroot_scan/var/lib/mock/fedora-rawhide-s390x-1727425272.960306/root/var/log’: No such file or directory INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-s390x-1727425272.960306/root/var/log/dnf5.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-gim_jk5i/python-imagecodecs/python-imagecodecs.spec) Config(child) 0 minutes 49 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/python-imagecodecs-2023.1.23-4.fc42.src.rpm) Config(fedora-rawhide-s390x) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1727425272.960306/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-s390x-bootstrap-1727425272.960306/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-s390x-1727425272.960306/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Buildroot is handled by package management downloaded with a bootstrap image: rpm-4.19.94-1.fc42.s390x rpm-sequoia-1.7.0-2.fc41.s390x dnf5-5.2.6.2-1.fc42.s390x dnf5-plugins-5.2.6.2-1.fc42.s390x Finish: chroot init Start: build phase for python-imagecodecs-2023.1.23-4.fc42.src.rpm Start: build setup for python-imagecodecs-2023.1.23-4.fc42.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.src.rpm Updating and loading repositories: Copr repository 100% | 1.9 KiB/s | 1.5 KiB | 00m01s fedora 100% | 19.0 KiB/s | 5.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: CharLS-devel s390x 2.4.2-6.fc41 fedora 129.9 KiB blosc-devel s390x 1.21.6-1.fc42 copr_base 20.9 KiB blosc2-devel s390x 2.15.1-1.fc42 copr_base 149.1 KiB brotli-devel s390x 1.1.0-5.fc41 fedora 65.6 KiB bzip2-devel s390x 1.0.8-19.fc41 fedora 309.8 KiB cfitsio-devel s390x 4.5.0-4.fc42 copr_base 517.5 KiB gcc-c++ s390x 14.2.1-3.fc42 fedora 28.7 MiB giflib-devel s390x 5.2.2-2.fc41 fedora 673.9 KiB jxrlib-devel s390x 1.1-28.fc41 fedora 204.6 KiB lcms2-devel s390x 2.16-4.fc41 fedora 135.7 KiB libaec-devel s390x 1.1.2-2.fc41 fedora 11.9 KiB libavif-devel s390x 1.0.4-7.fc41 fedora 68.7 KiB libdeflate-devel s390x 1.21-2.fc41 fedora 25.7 KiB libheif-devel s390x 1.17.6-2.fc41 fedora 185.0 KiB libjpeg-turbo-devel s390x 3.0.4-1.fc42 fedora 353.1 KiB liblerc-devel s390x 4.0.0-7.fc41 fedora 4.3 MiB libpng-devel s390x 2:1.6.44-1.fc42 copr_base 881.5 KiB libtiff-devel s390x 4.6.0-6.fc42 copr_base 709.2 KiB libzstd-devel s390x 1.5.6-2.fc41 fedora 202.4 KiB lz4-devel s390x 1.10.0-1.fc41 fedora 102.2 KiB python3-blosc s390x 1.11.2-2.fc41 fedora 226.2 KiB python3-blosc2 s390x 2.5.1-5.fc42 fedora 1.0 MiB python3-brotli s390x 1.1.0-5.fc41 fedora 923.9 KiB python3-cython s390x 3.0.11-1.fc41 fedora 18.3 MiB python3-devel s390x 3.13.0~rc2-3.fc42 fedora 1.8 MiB python3-lz4 s390x 4.3.3-5.fc41 fedora 6.2 MiB python3-numcodecs s390x 0.13.0-2.fc42 fedora 1.7 MiB python3-pytest noarch 8.3.3-1.fc42 fedora 20.8 MiB python3-snappy noarch 0.7.2-2.fc41 fedora 39.5 KiB python3-tifffile noarch 2024.9.20-1.fc42 fedora 2.9 MiB python3-zarr noarch 2.16.1-5.fc41 fedora 3.2 MiB python3-zstd s390x 1.5.5.1-5.fc41 fedora 37.7 KiB snappy-devel s390x 1.2.1-3.fc42 fedora 47.1 KiB xz-devel s390x 1:5.6.2-2.fc41 fedora 255.6 KiB zfp-devel s390x 1.0.1-3.fc41 fedora 480.0 KiB zlib-ng-devel s390x 2.2.2-1.fc42 copr_base 103.7 KiB zopfli-devel s390x 1.0.3-11.fc41 fedora 15.5 KiB Installing dependencies: CharLS s390x 2.4.2-6.fc41 fedora 346.3 KiB annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc s390x 12.70-1.fc42 fedora 985.3 KiB blosc s390x 1.21.6-1.fc42 copr_base 101.8 KiB blosc2 s390x 2.15.1-1.fc42 copr_base 571.9 KiB brotli s390x 1.1.0-5.fc41 fedora 35.6 KiB cfitsio s390x 4.5.0-4.fc42 copr_base 2.1 MiB cmake-filesystem s390x 3.28.3-7.fc41 fedora 0.0 B cpp s390x 14.2.1-3.fc42 fedora 25.5 MiB expat s390x 2.6.3-1.fc42 fedora 319.1 KiB flexiblas s390x 3.4.4-3.fc41 fedora 48.5 KiB flexiblas-netlib s390x 3.4.4-3.fc41 fedora 12.4 MiB flexiblas-openblas-openmp s390x 3.4.4-3.fc41 fedora 43.1 KiB gcc s390x 14.2.1-3.fc42 fedora 76.7 MiB gcc-plugin-annobin s390x 14.2.1-3.fc42 fedora 60.8 KiB giflib s390x 5.2.2-2.fc41 fedora 124.0 KiB glibc-devel s390x 2.40.9000-5.fc42 copr_base 467.6 KiB glibc-headers-s390 noarch 2.40.9000-5.fc42 copr_base 2.2 MiB jbigkit-libs s390x 2.1-30.fc41 fedora 121.2 KiB jxrlib s390x 1.1-28.fc41 fedora 791.1 KiB kernel-headers s390x 6.11.0-63.fc42 fedora 6.4 MiB lcms2 s390x 2.16-4.fc41 fedora 456.7 KiB libaec s390x 1.1.2-2.fc41 fedora 109.6 KiB libaom s390x 3.9.0-3.fc41 fedora 3.5 MiB libaom-devel s390x 3.9.0-3.fc41 fedora 27.0 MiB libasan s390x 14.2.1-3.fc42 fedora 1.6 MiB libatomic s390x 14.2.1-3.fc42 fedora 32.3 KiB libavif s390x 1.0.4-7.fc41 fedora 195.6 KiB libb2 s390x 0.98.1-12.fc41 fedora 42.0 KiB libdav1d s390x 1.4.3-2.fc41 fedora 657.3 KiB libdav1d-devel s390x 1.4.3-2.fc41 fedora 41.9 KiB libdeflate s390x 1.21-2.fc41 fedora 108.5 KiB libgfortran s390x 14.2.1-3.fc42 fedora 2.2 MiB libheif s390x 1.17.6-2.fc41 fedora 991.8 KiB libjpeg-turbo s390x 3.0.4-1.fc42 fedora 747.8 KiB liblerc s390x 4.0.0-7.fc41 fedora 269.0 KiB libmpc s390x 1.3.1-6.fc41 fedora 164.5 KiB libpng s390x 2:1.6.44-1.fc42 copr_base 253.6 KiB libstdc++-devel s390x 14.2.1-3.fc42 fedora 15.1 MiB libtiff s390x 4.6.0-6.fc42 copr_base 645.8 KiB libubsan s390x 14.2.1-3.fc42 fedora 491.2 KiB libwebp s390x 1.4.0-4.fc41 fedora 666.2 KiB libwebp-devel s390x 1.4.0-4.fc41 fedora 120.3 KiB libxcrypt-devel s390x 4.4.36-7.fc41 fedora 30.3 KiB make s390x 1:4.4.1-8.fc41 fedora 1.9 MiB mpdecimal s390x 2.5.1-16.fc41 fedora 224.7 KiB openblas s390x 0.3.26-5.fc41 fedora 96.0 KiB openblas-openmp s390x 0.3.26-5.fc41 fedora 15.2 MiB openjpeg s390x 2.5.2-4.fc42 fedora 481.5 KiB openjpeg-devel s390x 2.5.2-4.fc42 fedora 75.3 KiB openjpeg-tools s390x 2.5.2-4.fc42 fedora 204.9 KiB pyproject-rpm-macros noarch 1.15.0-1.fc42 fedora 109.0 KiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python-rpm-macros noarch 3.13-3.fc41 fedora 22.1 KiB python3 s390x 3.13.0~rc2-3.fc42 fedora 31.6 KiB python3-asciitree noarch 0.3.3-30.fc41 fedora 20.6 KiB python3-cffi s390x 1.17.1-1.fc42 fedora 1.3 MiB python3-cpuinfo noarch 9.0.0-9.fc41 fedora 309.7 KiB python3-cramjam s390x 2.8.3-6.fc41 fedora 3.7 MiB python3-fasteners noarch 0.19-9.fc41 fedora 116.6 KiB python3-iniconfig noarch 1.1.1-23.fc41 fedora 20.6 KiB python3-libs s390x 3.13.0~rc2-3.fc42 fedora 40.8 MiB python3-msgpack s390x 1.0.7-5.fc41 fedora 427.6 KiB python3-ndindex s390x 1.7-13.fc41 fedora 3.0 MiB python3-numpy s390x 1:1.26.4-8.fc41 fedora 41.8 MiB python3-packaging noarch 24.1-2.fc41 fedora 422.3 KiB python3-pluggy noarch 1.5.0-1.fc41 fedora 193.2 KiB python3-ply noarch 3.11-25.fc41 fedora 568.2 KiB python3-pycparser noarch 2.20-18.fc41 fedora 821.0 KiB python3-rpm-generators noarch 14-11.fc41 fedora 81.7 KiB python3-rpm-macros noarch 3.13-3.fc41 fedora 6.4 KiB rav1e-libs s390x 0.7.1-3.fc41 fedora 2.5 MiB snappy s390x 1.2.1-3.fc42 fedora 74.8 KiB svt-av1-libs s390x 2.1.0-2.fc41 fedora 3.7 MiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB zfp s390x 1.0.1-3.fc41 fedora 295.5 KiB zlib-ng s390x 2.2.2-1.fc42 copr_base 136.8 KiB zlib-ng-compat-devel s390x 2.2.2-1.fc42 copr_base 106.8 KiB zopfli s390x 1.0.3-11.fc41 fedora 332.3 KiB Transaction Summary: Installing: 116 packages Total size of inbound packages is 125 MiB. Need to download 125 MiB. After this operation, 402 MiB extra will be used (install 402 MiB, remove 0 B). [ 1/116] brotli-devel-0:1.1.0-5.fc41.s 100% | 170.4 KiB/s | 33.9 KiB | 00m00s [ 2/116] CharLS-devel-0:2.4.2-6.fc41.s 100% | 134.6 KiB/s | 30.4 KiB | 00m00s [ 3/116] bzip2-devel-0:1.0.8-19.fc41.s 100% | 585.2 KiB/s | 213.6 KiB | 00m00s [ 4/116] jxrlib-devel-0:1.1-28.fc41.s3 100% | 418.7 KiB/s | 38.5 KiB | 00m00s [ 5/116] giflib-devel-0:5.2.2-2.fc41.s 100% | 819.1 KiB/s | 211.3 KiB | 00m00s [ 6/116] lcms2-devel-0:2.16-4.fc41.s39 100% | 368.0 KiB/s | 32.0 KiB | 00m00s [ 7/116] libaec-devel-0:1.1.2-2.fc41.s 100% | 191.9 KiB/s | 11.9 KiB | 00m00s [ 8/116] libavif-devel-0:1.0.4-7.fc41. 100% | 472.3 KiB/s | 29.3 KiB | 00m00s [ 9/116] libdeflate-devel-0:1.21-2.fc4 100% | 280.6 KiB/s | 17.7 KiB | 00m00s [ 10/116] libjpeg-turbo-devel-0:3.0.4-1 100% | 1.2 MiB/s | 97.2 KiB | 00m00s [ 11/116] libheif-devel-0:1.17.6-2.fc41 100% | 481.6 KiB/s | 42.4 KiB | 00m00s [ 12/116] libzstd-devel-0:1.5.6-2.fc41. 100% | 760.6 KiB/s | 51.7 KiB | 00m00s [ 13/116] lz4-devel-0:1.10.0-1.fc41.s39 100% | 510.2 KiB/s | 32.1 KiB | 00m00s [ 14/116] gcc-c++-0:14.2.1-3.fc42.s390x 100% | 16.2 MiB/s | 11.8 MiB | 00m01s [ 15/116] python3-devel-0:3.13.0~rc2-3. 100% | 5.7 MiB/s | 402.4 KiB | 00m00s [ 16/116] liblerc-devel-0:4.0.0-7.fc41. 100% | 9.2 MiB/s | 3.2 MiB | 00m00s [ 17/116] python3-blosc-0:1.11.2-2.fc41 100% | 765.3 KiB/s | 65.1 KiB | 00m00s [ 18/116] python3-blosc2-0:2.5.1-5.fc42 100% | 3.8 MiB/s | 357.1 KiB | 00m00s [ 19/116] python3-brotli-0:1.1.0-5.fc41 100% | 4.1 MiB/s | 382.6 KiB | 00m00s [ 20/116] python3-lz4-0:4.3.3-5.fc41.s3 100% | 7.4 MiB/s | 522.3 KiB | 00m00s [ 21/116] python3-cython-0:3.0.11-1.fc4 100% | 10.5 MiB/s | 4.0 MiB | 00m00s [ 22/116] python3-numcodecs-0:0.13.0-2. 100% | 4.7 MiB/s | 453.3 KiB | 00m00s [ 23/116] python3-snappy-0:0.7.2-2.fc41 100% | 309.4 KiB/s | 24.1 KiB | 00m00s [ 24/116] python3-tifffile-0:2024.9.20- 100% | 6.2 MiB/s | 507.3 KiB | 00m00s [ 25/116] snappy-devel-0:1.2.1-3.fc42.s 100% | 384.7 KiB/s | 22.3 KiB | 00m00s [ 26/116] python3-zstd-0:1.5.5.1-5.fc41 100% | 231.2 KiB/s | 19.6 KiB | 00m00s [ 27/116] python3-zarr-0:2.16.1-5.fc41. 100% | 4.7 MiB/s | 551.5 KiB | 00m00s [ 28/116] xz-devel-1:5.6.2-2.fc41.s390x 100% | 1.1 MiB/s | 66.4 KiB | 00m00s [ 29/116] zfp-devel-0:1.0.1-3.fc41.s390 100% | 1.0 MiB/s | 83.8 KiB | 00m00s [ 30/116] zopfli-devel-0:1.0.3-11.fc41. 100% | 179.3 KiB/s | 13.1 KiB | 00m00s [ 31/116] blosc2-devel-0:2.15.1-1.fc42. 100% | 58.6 KiB/s | 41.9 KiB | 00m01s [ 32/116] blosc-devel-0:1.21.6-1.fc42.s 100% | 18.1 KiB/s | 14.8 KiB | 00m01s [ 33/116] cfitsio-devel-0:4.5.0-4.fc42. 100% | 158.9 KiB/s | 127.0 KiB | 00m01s [ 34/116] libpng-devel-2:1.6.44-1.fc42. 100% | 738.5 KiB/s | 293.9 KiB | 00m00s [ 35/116] libtiff-devel-0:4.6.0-6.fc42. 100% | 660.0 KiB/s | 247.5 KiB | 00m00s [ 36/116] CharLS-0:2.4.2-6.fc41.s390x 100% | 1.9 MiB/s | 119.8 KiB | 00m00s [ 37/116] cmake-filesystem-0:3.28.3-7.f 100% | 313.0 KiB/s | 18.2 KiB | 00m00s [ 38/116] brotli-0:1.1.0-5.fc41.s390x 100% | 340.7 KiB/s | 20.4 KiB | 00m00s [ 39/116] libmpc-0:1.3.1-6.fc41.s390x 100% | 1.2 MiB/s | 73.3 KiB | 00m00s [ 40/116] zlib-ng-devel-0:2.2.2-1.fc42. 100% | 63.3 KiB/s | 37.9 KiB | 00m01s [ 41/116] giflib-0:5.2.2-2.fc41.s390x 100% | 945.8 KiB/s | 54.9 KiB | 00m00s [ 42/116] libstdc++-devel-0:14.2.1-3.fc 100% | 14.6 MiB/s | 2.8 MiB | 00m00s [ 43/116] lcms2-0:2.16-4.fc41.s390x 100% | 2.9 MiB/s | 189.2 KiB | 00m00s [ 44/116] jxrlib-0:1.1-28.fc41.s390x 100% | 5.6 MiB/s | 472.0 KiB | 00m00s [ 45/116] libaec-0:1.1.2-2.fc41.s390x 100% | 664.2 KiB/s | 40.5 KiB | 00m00s [ 46/116] libavif-0:1.0.4-7.fc41.s390x 100% | 1.6 MiB/s | 97.2 KiB | 00m00s [ 47/116] libdeflate-0:1.21-2.fc41.s390 100% | 1.0 MiB/s | 63.5 KiB | 00m00s [ 48/116] libdav1d-devel-0:1.4.3-2.fc41 100% | 263.8 KiB/s | 19.3 KiB | 00m00s [ 49/116] libheif-0:1.17.6-2.fc41.s390x 100% | 5.6 MiB/s | 372.8 KiB | 00m00s [ 50/116] libwebp-devel-0:1.4.0-4.fc41. 100% | 655.9 KiB/s | 39.4 KiB | 00m00s [ 51/116] openjpeg-devel-0:2.5.2-4.fc42 100% | 336.5 KiB/s | 26.9 KiB | 00m00s [ 52/116] libjpeg-turbo-0:3.0.4-1.fc42. 100% | 3.7 MiB/s | 240.4 KiB | 00m00s [ 53/116] liblerc-0:4.0.0-7.fc41.s390x 100% | 1.8 MiB/s | 111.5 KiB | 00m00s [ 54/116] python3-0:3.13.0~rc2-3.fc42.s 100% | 457.8 KiB/s | 27.5 KiB | 00m00s [ 55/116] libaom-devel-0:3.9.0-3.fc41.s 100% | 23.1 MiB/s | 13.0 MiB | 00m01s [ 56/116] gcc-0:14.2.1-3.fc42.s390x 100% | 29.0 MiB/s | 30.4 MiB | 00m01s [ 57/116] python3-cpuinfo-0:9.0.0-9.fc4 100% | 779.7 KiB/s | 68.6 KiB | 00m00s [ 58/116] python3-msgpack-0:1.0.7-5.fc4 100% | 1.6 MiB/s | 127.3 KiB | 00m00s [ 59/116] python3-ndindex-0:1.7-13.fc41 100% | 7.3 MiB/s | 778.4 KiB | 00m00s [ 60/116] python3-cffi-0:1.17.1-1.fc42. 100% | 3.6 MiB/s | 313.0 KiB | 00m00s [ 61/116] python3-libs-0:3.13.0~rc2-3.f 100% | 21.7 MiB/s | 9.1 MiB | 00m00s [ 62/116] python3-cramjam-0:2.8.3-6.fc4 100% | 13.0 MiB/s | 1.3 MiB | 00m00s [ 63/116] snappy-0:1.2.1-3.fc42.s390x 100% | 664.6 KiB/s | 40.5 KiB | 00m00s [ 64/116] python3-numpy-1:1.26.4-8.fc41 100% | 25.2 MiB/s | 7.3 MiB | 00m00s [ 65/116] python3-asciitree-0:0.3.3-30. 100% | 231.2 KiB/s | 18.0 KiB | 00m00s [ 66/116] python3-fasteners-0:0.19-9.fc 100% | 657.1 KiB/s | 50.6 KiB | 00m00s [ 67/116] zopfli-0:1.0.3-11.fc41.s390x 100% | 1.9 MiB/s | 149.7 KiB | 00m00s [ 68/116] zfp-0:1.0.1-3.fc41.s390x 100% | 1.1 MiB/s | 94.1 KiB | 00m00s [ 69/116] libasan-0:14.2.1-3.fc42.s390x 100% | 7.1 MiB/s | 534.1 KiB | 00m00s [ 70/116] libatomic-0:14.2.1-3.fc42.s39 100% | 701.4 KiB/s | 41.4 KiB | 00m00s [ 71/116] libubsan-0:14.2.1-3.fc42.s390 100% | 3.6 MiB/s | 233.6 KiB | 00m00s [ 72/116] make-1:4.4.1-8.fc41.s390x 100% | 7.7 MiB/s | 604.5 KiB | 00m00s [ 73/116] libaom-0:3.9.0-3.fc41.s390x 100% | 13.8 MiB/s | 1.4 MiB | 00m00s [ 74/116] cpp-0:14.2.1-3.fc42.s390x 100% | 24.8 MiB/s | 9.6 MiB | 00m00s [ 75/116] libdav1d-0:1.4.3-2.fc41.s390x 100% | 4.4 MiB/s | 317.8 KiB | 00m00s [ 76/116] libwebp-0:1.4.0-4.fc41.s390x 100% | 3.9 MiB/s | 261.4 KiB | 00m00s [ 77/116] zlib-ng-0:2.2.2-1.fc42.s390x 100% | 132.6 KiB/s | 74.1 KiB | 00m01s [ 78/116] rav1e-libs-0:0.7.1-3.fc41.s39 100% | 9.5 MiB/s | 846.9 KiB | 00m00s [ 79/116] svt-av1-libs-0:2.1.0-2.fc41.s 100% | 12.7 MiB/s | 1.2 MiB | 00m00s [ 80/116] openjpeg-0:2.5.2-4.fc42.s390x 100% | 3.2 MiB/s | 211.9 KiB | 00m00s [ 81/116] expat-0:2.6.3-1.fc42.s390x 100% | 1.9 MiB/s | 117.4 KiB | 00m00s [ 82/116] openjpeg-tools-0:2.5.2-4.fc42 100% | 1.1 MiB/s | 88.7 KiB | 00m00s [ 83/116] libb2-0:0.98.1-12.fc41.s390x 100% | 465.1 KiB/s | 27.0 KiB | 00m00s [ 84/116] mpdecimal-0:2.5.1-16.fc41.s39 100% | 1.6 MiB/s | 99.5 KiB | 00m00s [ 85/116] python-pip-wheel-0:24.2-2.fc4 100% | 12.1 MiB/s | 1.2 MiB | 00m00s [ 86/116] tzdata-0:2024a-9.fc41.noarch 100% | 8.5 MiB/s | 714.7 KiB | 00m00s [ 87/116] flexiblas-0:3.4.4-3.fc41.s390 100% | 434.4 KiB/s | 25.2 KiB | 00m00s [ 88/116] python3-pycparser-0:2.20-18.f 100% | 1.8 MiB/s | 159.5 KiB | 00m00s [ 89/116] flexiblas-openblas-openmp-0:3 100% | 297.7 KiB/s | 17.3 KiB | 00m00s [ 90/116] libgfortran-0:14.2.1-3.fc42.s 100% | 7.6 MiB/s | 612.6 KiB | 00m00s [ 91/116] flexiblas-netlib-0:3.4.4-3.fc 100% | 16.5 MiB/s | 3.9 MiB | 00m00s [ 92/116] python3-ply-0:3.11-25.fc41.no 100% | 1.7 MiB/s | 136.2 KiB | 00m00s [ 93/116] openblas-0:0.3.26-5.fc41.s390 100% | 654.5 KiB/s | 38.6 KiB | 00m00s [ 94/116] python3-iniconfig-0:1.1.1-23. 100% | 306.3 KiB/s | 18.1 KiB | 00m00s [ 95/116] python3-pytest-0:8.3.3-1.fc42 100% | 16.9 MiB/s | 2.1 MiB | 00m00s [ 96/116] python3-packaging-0:24.1-2.fc 100% | 2.0 MiB/s | 125.4 KiB | 00m00s [ 97/116] python3-pluggy-0:1.5.0-1.fc41 100% | 993.6 KiB/s | 58.6 KiB | 00m00s [ 98/116] openblas-openmp-0:0.3.26-5.fc 100% | 17.7 MiB/s | 4.4 MiB | 00m00s [ 99/116] blosc-0:1.21.6-1.fc42.s390x 100% | 608.6 KiB/s | 50.5 KiB | 00m00s [100/116] libpng-2:1.6.44-1.fc42.s390x 100% | 833.6 KiB/s | 130.9 KiB | 00m00s [101/116] libtiff-0:4.6.0-6.fc42.s390x 100% | 1.4 MiB/s | 234.5 KiB | 00m00s [102/116] jbigkit-libs-0:2.1-30.fc41.s3 100% | 901.3 KiB/s | 55.9 KiB | 00m00s [103/116] glibc-devel-0:2.40.9000-5.fc4 100% | 899.4 KiB/s | 143.0 KiB | 00m00s [104/116] glibc-headers-s390-0:2.40.900 100% | 2.7 MiB/s | 544.5 KiB | 00m00s [105/116] libxcrypt-devel-0:4.4.36-7.fc 100% | 496.0 KiB/s | 28.8 KiB | 00m00s [106/116] kernel-headers-0:6.11.0-63.fc 100% | 13.8 MiB/s | 1.6 MiB | 00m00s [107/116] zlib-ng-compat-devel-0:2.2.2- 100% | 501.0 KiB/s | 38.6 KiB | 00m00s [108/116] annobin-plugin-gcc-0:12.70-1. 100% | 10.5 MiB/s | 971.2 KiB | 00m00s [109/116] cfitsio-0:4.5.0-4.fc42.s390x 100% | 3.3 MiB/s | 682.6 KiB | 00m00s [110/116] gcc-plugin-annobin-0:14.2.1-3 100% | 877.8 KiB/s | 54.4 KiB | 00m00s [111/116] annobin-docs-0:12.70-1.fc42.n 100% | 1.5 MiB/s | 92.0 KiB | 00m00s [112/116] pyproject-rpm-macros-0:1.15.0 100% | 711.9 KiB/s | 43.4 KiB | 00m00s [113/116] blosc2-0:2.15.1-1.fc42.s390x 100% | 289.5 KiB/s | 226.9 KiB | 00m01s [114/116] python-rpm-macros-0:3.13-3.fc 100% | 304.6 KiB/s | 17.7 KiB | 00m00s [115/116] python3-rpm-generators-0:14-1 100% | 480.4 KiB/s | 29.3 KiB | 00m00s [116/116] python3-rpm-macros-0:3.13-3.f 100% | 214.5 KiB/s | 12.4 KiB | 00m00s -------------------------------------------------------------------------------- [116/116] Total 100% | 19.6 MiB/s | 125.3 MiB | 00m06s Running transaction [ 1/118] Verify package files 100% | 292.0 B/s | 116.0 B | 00m00s [ 2/118] Prepare transaction 100% | 1.3 KiB/s | 116.0 B | 00m00s [ 3/118] Installing cmake-filesystem-0 100% | 7.0 MiB/s | 7.1 KiB | 00m00s [ 4/118] Installing libwebp-0:1.4.0-4. 100% | 218.2 MiB/s | 670.3 KiB | 00m00s [ 5/118] Installing python-rpm-macros- 100% | 0.0 B/s | 22.8 KiB | 00m00s [ 6/118] Installing openjpeg-0:2.5.2-4 100% | 236.1 MiB/s | 483.5 KiB | 00m00s [ 7/118] Installing libdav1d-0:1.4.3-2 100% | 214.4 MiB/s | 658.5 KiB | 00m00s [ 8/118] Installing libaom-0:3.9.0-3.f 100% | 247.7 MiB/s | 3.5 MiB | 00m00s [ 9/118] Installing snappy-0:1.2.1-3.f 100% | 74.7 MiB/s | 76.4 KiB | 00m00s [ 10/118] Installing blosc-0:1.21.6-1.f 100% | 102.2 MiB/s | 104.6 KiB | 00m00s [ 11/118] Installing libjpeg-turbo-0:3. 100% | 244.0 MiB/s | 749.5 KiB | 00m00s [ 12/118] Installing libmpc-0:1.3.1-6.f 100% | 162.1 MiB/s | 166.0 KiB | 00m00s [ 13/118] Installing libjpeg-turbo-deve 100% | 173.7 MiB/s | 355.6 KiB | 00m00s [ 14/118] Installing python3-rpm-macros 100% | 0.0 B/s | 6.7 KiB | 00m00s [ 15/118] Installing libwebp-devel-0:1. 100% | 121.1 MiB/s | 124.0 KiB | 00m00s [ 16/118] Installing zlib-ng-compat-dev 100% | 105.8 MiB/s | 108.3 KiB | 00m00s [ 17/118] Installing libpng-2:1.6.44-1. 100% | 124.4 MiB/s | 254.8 KiB | 00m00s [ 18/118] Installing libgfortran-0:14.2 100% | 270.9 MiB/s | 2.2 MiB | 00m00s [ 19/118] Installing svt-av1-libs-0:2.1 100% | 266.3 MiB/s | 3.7 MiB | 00m00s [ 20/118] Installing rav1e-libs-0:0.7.1 100% | 248.3 MiB/s | 2.5 MiB | 00m00s [ 21/118] Installing zlib-ng-0:2.2.2-1. 100% | 135.0 MiB/s | 138.2 KiB | 00m00s [ 22/118] Installing blosc2-0:2.15.1-1. 100% | 187.3 MiB/s | 575.2 KiB | 00m00s [ 23/118] Installing liblerc-0:4.0.0-7. 100% | 264.2 MiB/s | 270.6 KiB | 00m00s [ 24/118] Installing lcms2-0:2.16-4.fc4 100% | 223.8 MiB/s | 458.4 KiB | 00m00s [ 25/118] Installing libavif-0:1.0.4-7. 100% | 192.3 MiB/s | 196.9 KiB | 00m00s [ 26/118] Installing libheif-0:1.17.6-2 100% | 194.2 MiB/s | 994.2 KiB | 00m00s [ 27/118] Installing pyproject-rpm-macr 100% | 108.4 MiB/s | 111.0 KiB | 00m00s [ 28/118] Installing cpp-0:14.2.1-3.fc4 100% | 247.2 MiB/s | 25.5 MiB | 00m00s [ 29/118] Installing libaom-devel-0:3.9 100% | 301.9 MiB/s | 27.2 MiB | 00m00s [ 30/118] Installing libdav1d-devel-0:1 100% | 0.0 B/s | 43.2 KiB | 00m00s [ 31/118] Installing annobin-docs-0:12. 100% | 96.5 MiB/s | 98.8 KiB | 00m00s [ 32/118] Installing cfitsio-0:4.5.0-4. 100% | 210.7 MiB/s | 2.1 MiB | 00m00s [ 33/118] Installing kernel-headers-0:6 100% | 176.4 MiB/s | 6.5 MiB | 00m00s [ 34/118] Installing glibc-headers-s390 100% | 160.0 MiB/s | 2.2 MiB | 00m00s [ 35/118] Installing libxcrypt-devel-0: 100% | 31.8 MiB/s | 32.6 KiB | 00m00s [ 36/118] Installing glibc-devel-0:2.40 100% | 230.2 MiB/s | 471.4 KiB | 00m00s [ 37/118] Installing jbigkit-libs-0:2.1 100% | 120.3 MiB/s | 123.2 KiB | 00m00s [ 38/118] Installing libtiff-0:4.6.0-6. 100% | 211.0 MiB/s | 648.1 KiB | 00m00s [ 39/118] Installing openjpeg-tools-0:2 100% | 201.9 MiB/s | 206.8 KiB | 00m00s [ 40/118] Installing openjpeg-devel-0:2 100% | 75.1 MiB/s | 76.9 KiB | 00m00s [ 41/118] Installing openblas-0:0.3.26- 100% | 95.5 MiB/s | 97.8 KiB | 00m00s [ 42/118] Installing openblas-openmp-0: 100% | 292.7 MiB/s | 15.2 MiB | 00m00s [ 43/118] Installing flexiblas-0:3.4.4- 100% | 0.0 B/s | 49.7 KiB | 00m00s [ 44/118] Installing flexiblas-openblas 100% | 43.0 MiB/s | 44.0 KiB | 00m00s [ 45/118] Installing flexiblas-netlib-0 100% | 253.0 MiB/s | 12.4 MiB | 00m00s [ 46/118] Installing tzdata-0:2024a-9.f 100% | 60.7 MiB/s | 1.9 MiB | 00m00s [ 47/118] Installing python-pip-wheel-0 100% | 620.8 MiB/s | 1.2 MiB | 00m00s [ 48/118] Installing mpdecimal-0:2.5.1- 100% | 220.5 MiB/s | 225.8 KiB | 00m00s [ 49/118] Installing libb2-0:0.98.1-12. 100% | 0.0 B/s | 43.1 KiB | 00m00s [ 50/118] Installing expat-0:2.6.3-1.fc 100% | 44.8 MiB/s | 321.2 KiB | 00m00s [ 51/118] Installing python3-libs-0:3.1 100% | 276.6 MiB/s | 41.2 MiB | 00m00s [ 52/118] Installing python3-0:3.13.0~r 100% | 6.5 MiB/s | 33.4 KiB | 00m00s [ 53/118] Installing python3-numpy-1:1. 100% | 311.8 MiB/s | 42.1 MiB | 00m00s [ 54/118] Installing python3-packaging- 100% | 211.5 MiB/s | 433.2 KiB | 00m00s [ 55/118] Installing python3-rpm-genera 100% | 81.0 MiB/s | 82.9 KiB | 00m00s [ 56/118] Installing python3-numcodecs- 100% | 171.0 MiB/s | 1.7 MiB | 00m00s [ 57/118] Installing python3-ndindex-0: 100% | 233.5 MiB/s | 3.0 MiB | 00m00s [ 58/118] Installing python3-cpuinfo-0: 100% | 306.4 MiB/s | 313.8 KiB | 00m00s [ 59/118] Installing python3-msgpack-0: 100% | 141.3 MiB/s | 434.0 KiB | 00m00s [ 60/118] Installing python3-cramjam-0: 100% | 230.6 MiB/s | 3.7 MiB | 00m00s [ 61/118] Installing python3-asciitree- 100% | 24.1 MiB/s | 24.7 KiB | 00m00s [ 62/118] Installing python3-fasteners- 100% | 121.6 MiB/s | 124.5 KiB | 00m00s [ 63/118] Installing python3-ply-0:3.11 100% | 280.0 MiB/s | 573.4 KiB | 00m00s [ 64/118] Installing python3-pycparser- 100% | 203.2 MiB/s | 832.5 KiB | 00m00s [ 65/118] Installing python3-cffi-0:1.1 100% | 272.2 MiB/s | 1.4 MiB | 00m00s [ 66/118] Installing python3-iniconfig- 100% | 23.0 MiB/s | 23.6 KiB | 00m00s [ 67/118] Installing python3-pluggy-0:1 100% | 194.7 MiB/s | 199.4 KiB | 00m00s [ 68/118] Installing make-1:4.4.1-8.fc4 100% | 232.8 MiB/s | 1.9 MiB | 00m00s [ 69/118] Installing libubsan-0:14.2.1- 100% | 160.1 MiB/s | 491.9 KiB | 00m00s [ 70/118] Installing libatomic-0:14.2.1 100% | 32.4 MiB/s | 33.2 KiB | 00m00s [ 71/118] Installing libasan-0:14.2.1-3 100% | 235.8 MiB/s | 1.7 MiB | 00m00s [ 72/118] Installing gcc-0:14.2.1-3.fc4 100% | 296.4 MiB/s | 76.8 MiB | 00m00s [ 73/118] Installing zopfli-0:1.0.3-11. 100% | 109.2 MiB/s | 335.4 KiB | 00m00s [ 74/118] Installing zfp-0:1.0.1-3.fc41 100% | 145.3 MiB/s | 297.6 KiB | 00m00s [ 75/118] Installing libdeflate-0:1.21- 100% | 107.4 MiB/s | 110.0 KiB | 00m00s [ 76/118] Installing libaec-0:1.1.2-2.f 100% | 109.4 MiB/s | 112.0 KiB | 00m00s [ 77/118] Installing jxrlib-0:1.1-28.fc 100% | 258.4 MiB/s | 793.9 KiB | 00m00s [ 78/118] Installing giflib-0:5.2.2-2.f 100% | 40.9 MiB/s | 125.7 KiB | 00m00s [ 79/118] Installing libstdc++-devel-0: 100% | 305.8 MiB/s | 15.3 MiB | 00m00s [ 80/118] Installing brotli-0:1.1.0-5.f 100% | 0.0 B/s | 36.2 KiB | 00m00s [ 81/118] Installing CharLS-0:2.4.2-6.f 100% | 169.9 MiB/s | 347.9 KiB | 00m00s [ 82/118] Installing libzstd-devel-0:1. 100% | 198.5 MiB/s | 203.2 KiB | 00m00s [ 83/118] Installing libtiff-devel-0:4. 100% | 234.4 MiB/s | 720.0 KiB | 00m00s [ 84/118] Installing CharLS-devel-0:2.4 100% | 129.2 MiB/s | 132.3 KiB | 00m00s [ 85/118] Installing brotli-devel-0:1.1 100% | 66.4 MiB/s | 68.0 KiB | 00m00s [ 86/118] Installing gcc-c++-0:14.2.1-3 100% | 273.6 MiB/s | 28.7 MiB | 00m00s [ 87/118] Installing giflib-devel-0:5.2 100% | 168.2 MiB/s | 689.1 KiB | 00m00s [ 88/118] Installing jxrlib-devel-0:1.1 100% | 201.7 MiB/s | 206.6 KiB | 00m00s [ 89/118] Installing libaec-devel-0:1.1 100% | 0.0 B/s | 12.9 KiB | 00m00s [ 90/118] Installing libdeflate-devel-0 100% | 0.0 B/s | 27.1 KiB | 00m00s [ 91/118] Installing zfp-devel-0:1.0.1- 100% | 160.5 MiB/s | 492.9 KiB | 00m00s [ 92/118] Installing zopfli-devel-0:1.0 100% | 0.0 B/s | 16.6 KiB | 00m00s [ 93/118] Installing annobin-plugin-gcc 100% | 80.3 MiB/s | 987.0 KiB | 00m00s [ 94/118] Installing gcc-plugin-annobin 100% | 5.1 MiB/s | 62.2 KiB | 00m00s [ 95/118] Installing python3-pytest-0:8 100% | 355.7 MiB/s | 21.0 MiB | 00m00s [ 96/118] Installing python3-snappy-0:0 100% | 43.0 MiB/s | 44.0 KiB | 00m00s [ 97/118] Installing python3-zarr-0:2.1 100% | 290.4 MiB/s | 3.2 MiB | 00m00s [ 98/118] Installing python3-blosc2-0:2 100% | 202.5 MiB/s | 1.0 MiB | 00m00s [ 99/118] Installing python3-devel-0:3. 100% | 165.0 MiB/s | 1.8 MiB | 00m00s [100/118] Installing python3-tifffile-0 100% | 285.9 MiB/s | 2.9 MiB | 00m00s [101/118] Installing python3-cython-0:3 100% | 279.2 MiB/s | 18.4 MiB | 00m00s [102/118] Installing python3-blosc-0:1. 100% | 113.2 MiB/s | 231.8 KiB | 00m00s [103/118] Installing python3-brotli-0:1 100% | 180.9 MiB/s | 926.4 KiB | 00m00s [104/118] Installing python3-lz4-0:4.3. 100% | 364.0 MiB/s | 6.2 MiB | 00m00s [105/118] Installing python3-zstd-0:1.5 100% | 39.0 MiB/s | 40.0 KiB | 00m00s [106/118] Installing libheif-devel-0:1. 100% | 182.6 MiB/s | 187.0 KiB | 00m00s [107/118] Installing cfitsio-devel-0:4. 100% | 253.7 MiB/s | 519.6 KiB | 00m00s [108/118] Installing libavif-devel-0:1. 100% | 68.4 MiB/s | 70.0 KiB | 00m00s [109/118] Installing lcms2-devel-0:2.16 100% | 133.2 MiB/s | 136.4 KiB | 00m00s [110/118] Installing liblerc-devel-0:4. 100% | 389.7 MiB/s | 4.3 MiB | 00m00s [111/118] Installing blosc2-devel-0:2.1 100% | 149.4 MiB/s | 153.0 KiB | 00m00s [112/118] Installing zlib-ng-devel-0:2. 100% | 102.8 MiB/s | 105.2 KiB | 00m00s [113/118] Installing libpng-devel-2:1.6 100% | 288.2 MiB/s | 885.4 KiB | 00m00s [114/118] Installing blosc-devel-0:1.21 100% | 0.0 B/s | 21.6 KiB | 00m00s [115/118] Installing snappy-devel-0:1.2 100% | 48.1 MiB/s | 49.2 KiB | 00m00s [116/118] Installing xz-devel-1:5.6.2-2 100% | 253.3 MiB/s | 259.4 KiB | 00m00s [117/118] Installing lz4-devel-0:1.10.0 100% | 100.7 MiB/s | 103.2 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [118/118] Installing bzip2-devel-0:1.0. 100% | 2.7 MiB/s | 310.7 KiB | 00m00s Warning: skipped PGP checks for 15 packages from repository: copr_base Complete! Finish: build setup for python-imagecodecs-2023.1.23-4.fc42.src.rpm Start: rpmbuild python-imagecodecs-2023.1.23-4.fc42.src.rpm Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.1Qazjl + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + test -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/rm -rf /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nbJ55n + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + rm -rf imagecodecs-2023.1.23 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/imagecodecs-2023.1.23.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd imagecodecs-2023.1.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/python-imagecodecs-noexcept.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + cp -a /builddir/build/SOURCES/imagecodecs_distributor_setup.py . ++ grep -rl '/\* Generated by Cython' + rm -f imagecodecs/_aec.c imagecodecs/_apng.c imagecodecs/_avif.c imagecodecs/_bitshuffle.c imagecodecs/_blosc.c imagecodecs/_blosc2.c imagecodecs/_brotli.c imagecodecs/_brunsli.c imagecodecs/_bz2.c imagecodecs/_cms.c imagecodecs/_deflate.c imagecodecs/_gif.c imagecodecs/_heif.c imagecodecs/_imcd.c imagecodecs/_jetraw.c imagecodecs/_jpeg12.c imagecodecs/_jpeg2k.c imagecodecs/_jpeg8.c imagecodecs/_jpegls.c imagecodecs/_jpegsof3.c imagecodecs/_jpegxl.c imagecodecs/_jpegxr.c imagecodecs/_lerc.c imagecodecs/_ljpeg.c imagecodecs/_lz4.c imagecodecs/_lz4f.c imagecodecs/_lzf.c imagecodecs/_lzfse.c imagecodecs/_lzham.c imagecodecs/_lzma.c imagecodecs/_mozjpeg.c imagecodecs/_pglz.c imagecodecs/_png.c imagecodecs/_qoi.c imagecodecs/_rcomp.c imagecodecs/_rgbe.c imagecodecs/_shared.c imagecodecs/_snappy.c imagecodecs/_spng.c imagecodecs/_tiff.c imagecodecs/_webp.c imagecodecs/_zfp.c imagecodecs/_zlib.c imagecodecs/_zlibng.c imagecodecs/_zopfli.c imagecodecs/_zstd.c + rm -r 3rdparty + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.So4KFH + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement not satisfied: setuptools >= 40.8 Handling wheel from default build backend Requirement not satisfied: wheel Exiting dependency generation pass: build backend + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires + rm -rfv '*.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 27.0 KiB/s | 5.8 KiB | 00m00s Copr repository 100% | 2.2 KiB/s | 1.5 KiB | 00m01s Repositories loaded. Package "CharLS-devel-2.4.2-6.fc41.s390x" is already installed. Package "blosc-devel-1.21.6-1.fc42.s390x" is already installed. Package Arch Version Repository Size Installing: python3-pip noarch 24.2-2.fc42 fedora 11.4 MiB python3-setuptools noarch 69.2.0-8.fc41 fedora 7.2 MiB python3-wheel noarch 1:0.43.0-4.fc41 fedora 516.1 KiB Transaction Summary: Installing: 3 packages Package "blosc2-devel-2.15.1-1.fc42.s390x" is already installed. Package "brotli-devel-1.1.0-5.fc41.s390x" is already installed. Package "bzip2-devel-1.0.8-19.fc41.s390x" is already installed. Package "cfitsio-devel-4.5.0-4.fc42.s390x" is already installed. Package "gcc-c++-14.2.1-3.fc42.s390x" is already installed. Package "giflib-devel-5.2.2-2.fc41.s390x" is already installed. Package "jxrlib-devel-1.1-28.fc41.s390x" is already installed. Package "lcms2-devel-2.16-4.fc41.s390x" is already installed. Package "libaec-devel-1.1.2-2.fc41.s390x" is already installed. Package "libavif-devel-1.0.4-7.fc41.s390x" is already installed. Package "libdeflate-devel-1.21-2.fc41.s390x" is already installed. Package "libheif-devel-1.17.6-2.fc41.s390x" is already installed. Package "libjpeg-turbo-devel-3.0.4-1.fc42.s390x" is already installed. Package "liblerc-devel-4.0.0-7.fc41.s390x" is already installed. Package "libpng-devel-2:1.6.44-1.fc42.s390x" is already installed. Package "libtiff-devel-4.6.0-6.fc42.s390x" is already installed. Package "libzstd-devel-1.5.6-2.fc41.s390x" is already installed. Package "lz4-devel-1.10.0-1.fc41.s390x" is already installed. Package "pyproject-rpm-macros-1.15.0-1.fc42.noarch" is already installed. Package "python3-cython-3.0.11-1.fc41.s390x" is already installed. Package "python3-devel-3.13.0~rc2-3.fc42.s390x" is already installed. Package "python3-blosc-1.11.2-2.fc41.s390x" is already installed. Package "python3-blosc2-2.5.1-5.fc42.s390x" is already installed. Package "python3-brotli-1.1.0-5.fc41.s390x" is already installed. Package "python3-lz4-4.3.3-5.fc41.s390x" is already installed. Package "python3-numcodecs-0.13.0-2.fc42.s390x" is already installed. Package "python3-packaging-24.1-2.fc41.noarch" is already installed. Package "python3-pytest-8.3.3-1.fc42.noarch" is already installed. Package "python3-snappy-0.7.2-2.fc41.noarch" is already installed. Package "python3-tifffile-2024.9.20-1.fc42.noarch" is already installed. Package "python3-zarr-2.16.1-5.fc41.noarch" is already installed. Package "python3-zstd-1.5.5.1-5.fc41.s390x" is already installed. Package "snappy-devel-1.2.1-3.fc42.s390x" is already installed. Package "xz-devel-1:5.6.2-2.fc41.s390x" is already installed. Package "zfp-devel-1.0.1-3.fc41.s390x" is already installed. Package "zlib-ng-devel-2.2.2-1.fc42.s390x" is already installed. Package "zopfli-devel-1.0.3-11.fc41.s390x" is already installed. Total size of inbound packages is 4 MiB. Need to download 4 MiB. After this operation, 19 MiB extra will be used (install 19 MiB, remove 0 B). [1/3] python3-wheel-1:0.43.0-4.fc41.noa 100% | 2.5 MiB/s | 165.8 KiB | 00m00s [2/3] python3-pip-0:24.2-2.fc42.noarch 100% | 18.8 MiB/s | 2.7 MiB | 00m00s [3/3] python3-setuptools-0:69.2.0-8.fc4 100% | 9.5 MiB/s | 1.6 MiB | 00m00s -------------------------------------------------------------------------------- [3/3] Total 100% | 10.5 MiB/s | 4.4 MiB | 00m00s Running transaction [1/5] Verify package files 100% | 230.0 B/s | 3.0 B | 00m00s [2/5] Prepare transaction 100% | 111.0 B/s | 3.0 B | 00m00s [3/5] Installing python3-wheel-1:0.43.0 100% | 87.1 MiB/s | 535.1 KiB | 00m00s [4/5] Installing python3-setuptools-0:6 100% | 203.6 MiB/s | 7.3 MiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead [5/5] Installing python3-pip-0:24.2-2.f 100% | 151.4 MiB/s | 11.7 MiB | 00m00s Complete! Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.yu8re1 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools>=18.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=18.0 (installed: setuptools 69.2.0) Handling numpy from get_requires_for_build_wheel Requirement satisfied: numpy (installed: numpy 1.26.4) running dist_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/imagecodecs-2023.1.23.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 1.26.4) Handling matplotlib ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: matplotlib ; extra == 'all' Handling tifffile ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile ; extra == 'all' Handling numcodecs ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs ; extra == 'all' + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2023.1.23.dist-info/ removed 'imagecodecs-2023.1.23.dist-info/entry_points.txt' removed 'imagecodecs-2023.1.23.dist-info/top_level.txt' removed 'imagecodecs-2023.1.23.dist-info/METADATA' removed 'imagecodecs-2023.1.23.dist-info/LICENSE' removed directory 'imagecodecs-2023.1.23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.buildreqs.nosrc.rpm INFO: Going to install missing dynamic buildrequires Updating and loading repositories: fedora 100% | 25.3 KiB/s | 5.8 KiB | 00m00s Copr repository 100% | 3.8 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "CharLS-devel-2.4.2-6.fc41.s390x" is already installed. Package "blosc-devel-1.21.6-1.fc42.s390x" is already installed. Package "blosc2-devel-2.15.1-1.fc42.s390x" is already installed. Package "brotli-devel-1.1.0-5.fc41.s390x" is already installed. Package "bzip2-devel-1.0.8-19.fc41.s390x" is already installed. Package "cfitsio-devel-4.5.0-4.fc42.s390x" is already installed. Package "gcc-c++-14.2.1-3.fc42.s390x" is already installed. Package "giflib-devel-5.2.2-2.fc41.s390x" is already installed. Package "jxrlib-devel-1.1-28.fc41.s390x" is already installed. Package "lcms2-devel-2.16-4.fc41.s390x" is already installed. Package "libaec-devel-1.1.2-2.fc41.s390x" is already installed. Package "libavif-devel-1.0.4-7.fc41.s390x" is already installed. Package "libdeflate-devel-1.21-2.fc41.s390x" is already installed. Package "libheif-devel-1.17.6-2.fc41.s390x" is already installed. Package "libjpeg-turbo-devel-3.0.4-1.fc42.s390x" is already installed. Package "liblerc-devel-4.0.0-7.fc41.s390x" is already installed. Package "libpng-devel-2:1.6.44-1.fc42.s390x" is already installed. Package "libtiff-devel-4.6.0-6.fc42.s390x" is already installed. Package "libzstd-devel-1.5.6-2.fc41.s390x" is already installed. Package "lz4-devel-1.10.0-1.fc41.s390x" is already installed. Package "pyproject-rpm-macros-1.15.0-1.fc42.noarch" is already installed. Package "python3-cython-3.0.11-1.fc41.s390x" is already installed. Package "python3-devel-3.13.0~rc2-3.fc42.s390x" is already installed. Package "python3-blosc-1.11.2-2.fc41.s390x" is already installed. Package "python3-blosc2-2.5.1-5.fc42.s390x" is already installed. Package "python3-brotli-1.1.0-5.fc41.s390x" is already installed. Package "python3-lz4-4.3.3-5.fc41.s390x" is already installed. Package "python3-numcodecs-0.13.0-2.fc42.s390x" is already installed. Package "python3-numpy-1:1.26.4-8.fc41.s390x" is already installed. Package "python3-packaging-24.1-2.fc41.noarch" is already installed. Package "python3-pip-24.2-2.fc42.noarch" is already installed. Package "python3-pytest-8.3.3-1.fc42.noarch" is already installed. Package "python3-snappy-0.7.2-2.fc41.noarch" is already installed. Package "python3-setuptools-69.2.0-8.fc41.noarch" is already installed. Package "python3-setuptools-69.2.0-8.fc41.noarch" is already installed. Package "python3-tifffile-2024.9.20-1.fc42.noarch" is already installed. Package "python3-wheel-1:0.43.0-4.fc41.noarch" is already installed. Package "python3-zarr-2.16.1-5.fc41.noarch" is already installed. Package "python3-zstd-1.5.5.1-5.fc41.s390x" is already installed. Package "snappy-devel-1.2.1-3.fc42.s390x" is already installed. Package "xz-devel-1:5.6.2-2.fc41.s390x" is already installed. Package "zfp-devel-1.0.1-3.fc41.s390x" is already installed. Package "zlib-ng-devel-2.2.2-1.fc42.s390x" is already installed. Package "zopfli-devel-1.0.3-11.fc41.s390x" is already installed. Nothing to do. Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1725926400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.LI96cj + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + export PYTHONPATH=. + PYTHONPATH=. + echo pyproject-rpm-macros + echo python3-devel + echo 'python3dist(packaging)' + echo 'python3dist(pip) >= 19' + '[' -f pyproject.toml ']' + '[' -f setup.py ']' + echo 'python3dist(setuptools) >= 40.8' + echo 'python3dist(wheel)' + rm -rfv '*.dist-info/' + '[' -f /usr/bin/python3 ']' + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + echo -n + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + RPM_TOXENV=py313 + HOSTNAME=rpmbuild + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_buildrequires.py --generate-extras --python3_pkgversion 3 --wheeldir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires Handling setuptools >= 40.8 from default build backend Requirement satisfied: setuptools >= 40.8 (installed: setuptools 69.2.0) Handling wheel from default build backend Requirement satisfied: wheel (installed: wheel 0.43.0) Handling wheel from get_requires_for_build_wheel Requirement satisfied: wheel (installed: wheel 0.43.0) Handling setuptools>=18.0 from get_requires_for_build_wheel Requirement satisfied: setuptools>=18.0 (installed: setuptools 69.2.0) Handling numpy from get_requires_for_build_wheel Requirement satisfied: numpy (installed: numpy 1.26.4) running dist_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/imagecodecs-2023.1.23.dist-info' Handling numpy from hook generated metadata: Requires-Dist (imagecodecs) Requirement satisfied: numpy (installed: numpy 1.26.4) Handling matplotlib ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: matplotlib ; extra == 'all' Handling tifffile ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: tifffile ; extra == 'all' Handling numcodecs ; extra == 'all' from hook generated metadata: Requires-Dist (imagecodecs) Ignoring alien requirement: numcodecs ; extra == 'all' + cat /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-buildrequires + rm -rfv imagecodecs-2023.1.23.dist-info/ removed 'imagecodecs-2023.1.23.dist-info/entry_points.txt' removed 'imagecodecs-2023.1.23.dist-info/top_level.txt' removed 'imagecodecs-2023.1.23.dist-info/METADATA' removed 'imagecodecs-2023.1.23.dist-info/LICENSE' removed directory 'imagecodecs-2023.1.23.dist-info/' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.CvXM8O + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagecodecs-2023.1.23 + export CPPFLAGS=-I/usr/include/cfitsio + CPPFLAGS=-I/usr/include/cfitsio + export PYTHONPATH=. + PYTHONPATH=. + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + VALAFLAGS=-g + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + LT_SYS_LIBRARY_PATH=/usr/lib64: + CC=gcc + CXX=g++ + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + /usr/bin/python3 -Bs /usr/lib/rpm/redhat/pyproject_wheel.py /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir Processing /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23 Preparing metadata (pyproject.toml): started Running command Preparing metadata (pyproject.toml) running dist_info creating /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info writing /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/PKG-INFO writing dependency_links to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/dependency_links.txt writing entry points to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/entry_points.txt writing requirements to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/requires.txt writing top-level names to /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/top_level.txt writing manifest file '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/SOURCES.txt' reading manifest file '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs.egg-info/SOURCES.txt' creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-modern-metadata-0hztwhd6/imagecodecs-2023.1.23.dist-info' Preparing metadata (pyproject.toml): finished with status 'done' Building wheels for collected packages: imagecodecs Building wheel for imagecodecs (pyproject.toml): started Running command Building wheel for imagecodecs (pyproject.toml) running bdist_wheel running build running build_py creating build creating build/lib.linux-s390x-cpython-313 creating build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/__init__.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/__main__.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/_imagecodecs.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/imagecodecs.py -> build/lib.linux-s390x-cpython-313/imagecodecs copying imagecodecs/numcodecs.py -> build/lib.linux-s390x-cpython-313/imagecodecs creating build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-aom -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bitshuffle -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-blosc2 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brotli -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-brunsli -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-bzip2 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-cfitsio -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-charls -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-dav1d -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-fastlz -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-giflib -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-highway -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jetraw -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-jxrlib -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lcms2 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lerc -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaec -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libaivf -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libdeflate -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libjxl -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblj92 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-liblzma -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libmng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libpng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libspng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libtiff -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-libwebp -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lz4 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzf -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzfse -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-lzham -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-mozjpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-openjpeg -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-postgresql -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-qoi -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-rav1e -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-snappy -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-svt-av1 -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zfp -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zlib-ng -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zopfli -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/LICENSE-zstd -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses copying imagecodecs/licenses/PATENTS-rav1e -> build/lib.linux-s390x-cpython-313/imagecodecs/licenses running build_ext Compiling imagecodecs/_aec.pyx because it changed. [1/1] Cythonizing imagecodecs/_aec.pyx building 'imagecodecs._aec' extension creating build/temp.linux-s390x-cpython-313 creating build/temp.linux-s390x-cpython-313/imagecodecs gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_aec.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_aec.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_aec.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_aec.o -L/usr/lib64 -lm -laec -o build/lib.linux-s390x-cpython-313/imagecodecs/_aec.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_avif.pyx because it changed. [1/1] Cythonizing imagecodecs/_avif.pyx building 'imagecodecs._avif' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_avif.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_avif.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_avif.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_avif.c: In function ‘__pyx_pf_11imagecodecs_5_avif_6avif_decode.isra.0’: imagecodecs/_avif.c:26761:56: warning: ‘__pyx_v_size’ may be used uninitialized [-Wmaybe-uninitialized] 26761 | __pyx_v_rgb.pixels = (__pyx_v_rgb.pixels + __pyx_v_size); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ imagecodecs/_avif.c:24792:14: note: ‘__pyx_v_size’ was declared here 24792 | Py_ssize_t __pyx_v_size; | ^~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_avif.o -L/usr/lib64 -lm -lavif -o build/lib.linux-s390x-cpython-313/imagecodecs/_avif.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_blosc.pyx because it changed. [1/1] Cythonizing imagecodecs/_blosc.pyx building 'imagecodecs._blosc' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_blosc.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_blosc.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_blosc.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_blosc.o -L/usr/lib64 -lm -lblosc -o build/lib.linux-s390x-cpython-313/imagecodecs/_blosc.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_blosc2.pyx because it changed. [1/1] Cythonizing imagecodecs/_blosc2.pyx building 'imagecodecs._blosc2' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_blosc2.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_blosc2.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_blosc2.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_blosc2.o -L/usr/lib64 -lm -lblosc2 -o build/lib.linux-s390x-cpython-313/imagecodecs/_blosc2.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_brotli.pyx because it changed. [1/1] Cythonizing imagecodecs/_brotli.pyx building 'imagecodecs._brotli' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_brotli.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_brotli.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_brotli.c:1252: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_brotli.o -L/usr/lib64 -lm -lbrotlienc -lbrotlidec -lbrotlicommon -o build/lib.linux-s390x-cpython-313/imagecodecs/_brotli.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_bz2.pyx because it changed. [1/1] Cythonizing imagecodecs/_bz2.pyx building 'imagecodecs._bz2' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_bz2.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_bz2.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_bz2.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_bz2.o -L/usr/lib64 -lm -lbz2 -o build/lib.linux-s390x-cpython-313/imagecodecs/_bz2.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_cms.pyx because it changed. [1/1] Cythonizing imagecodecs/_cms.pyx building 'imagecodecs._cms' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_cms.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_cms.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_cms.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ In file included from imagecodecs/_cms.c:2800: /usr/include/python3.13/structmember.h:27:9: warning: "T_FLOAT" redefined 27 | #define T_FLOAT Py_T_FLOAT | ^~~~~~~ In file included from imagecodecs/_cms.c:1259: /usr/include/lcms2.h:707:9: note: this is the location of the previous definition 707 | #define T_FLOAT(a) (((a)>>22)&1) | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_cms.o -L/usr/lib64 -lm -llcms2 -o build/lib.linux-s390x-cpython-313/imagecodecs/_cms.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_deflate.pyx because it changed. [1/1] Cythonizing imagecodecs/_deflate.pyx building 'imagecodecs._deflate' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_deflate.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_deflate.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_deflate.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_deflate.o -L/usr/lib64 -lm -ldeflate -o build/lib.linux-s390x-cpython-313/imagecodecs/_deflate.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_gif.pyx because it changed. [1/1] Cythonizing imagecodecs/_gif.pyx building 'imagecodecs._gif' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_gif.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_gif.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_gif.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_gif.o -L/usr/lib64 -lm -lgif -o build/lib.linux-s390x-cpython-313/imagecodecs/_gif.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_heif.pyx:816:5: Exception check on 'output_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'output_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'output_del' to allow an error code to be returned. Compiling imagecodecs/_heif.pyx because it changed. [1/1] Cythonizing imagecodecs/_heif.pyx building 'imagecodecs._heif' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_heif.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_heif.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_heif.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_heif.c:29346:12: warning: ‘__pyx_f_11imagecodecs_5_heif_output_seek’ defined but not used [-Wunused-function] 29346 | static int __pyx_f_11imagecodecs_5_heif_output_seek(__pyx_t_11imagecodecs_5_heif_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_heif.o -L/usr/lib64 -lm -lheif -o build/lib.linux-s390x-cpython-313/imagecodecs/_heif.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_imcd.pyx because it changed. [1/1] Cythonizing imagecodecs/_imcd.pyx building 'imagecodecs._imcd' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_imcd.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_imcd.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_imcd.c:1251: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_imcd.c: In function ‘__pyx_pf_11imagecodecs_5_imcd_46lzw_encode’: imagecodecs/_imcd.c:35974:164: warning: passing argument 3 of ‘imcd_lzw_encode’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 35974 | __pyx_v_ret = imcd_lzw_encode((&(*((uint8_t const *) ( /* dim=0 */ ((char *) (((uint8_t const *) __pyx_v_src.data) + __pyx_t_4)) )))), __pyx_v_srcsize, (&(*((uint8_t const *) ( /* dim=0 */ ((char *) (((uint8_t const *) __pyx_v_dst.data) + __pyx_t_13)) )))), __pyx_v_dstsize); | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from imagecodecs/_imcd.c:1258: imagecodecs/imcd.h:299:14: note: expected ‘uint8_t *’ {aka ‘unsigned char *’} but argument is of type ‘const uint8_t *’ {aka ‘const unsigned char *’} 299 | uint8_t* dst, | ~~~~~~~~~^~~ gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/imcd.c -o build/temp.linux-s390x-cpython-313/imagecodecs/imcd.o imagecodecs/imcd.c: In function ‘imcd_ccittrle_decode’: imagecodecs/imcd.c:848:20: warning: unused variable ‘dstend’ [-Wunused-variable] 848 | const uint8_t* dstend = dstptr + dstsize; | ^~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_imcd.o build/temp.linux-s390x-cpython-313/imagecodecs/imcd.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-313/imagecodecs/_imcd.cpython-313-s390x-linux-gnu.so warning: imagecodecs/_jpeg8.pyx:46:0: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:66:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:86:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:230:8: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:411:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 warning: imagecodecs/_jpeg8.pyx:469:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling imagecodecs/_jpeg8.pyx because it changed. [1/1] Cythonizing imagecodecs/_jpeg8.pyx building 'imagecodecs._jpeg8' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_jpeg8.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_jpeg8.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_jpeg8.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_jpeg8.o -L/usr/lib64 -lm -ljpeg -o build/lib.linux-s390x-cpython-313/imagecodecs/_jpeg8.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_jpegxr.pyx:748:5: Exception check on 'jxr_encode_guid' will always require the GIL to be acquired. Declare 'jxr_encode_guid' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. performance hint: imagecodecs/_jpegxr.pyx:193:41: Exception check after calling 'jxr_encode_guid' will always require the GIL to be acquired. Declare 'jxr_encode_guid' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. Compiling imagecodecs/_jpegxr.pyx because it changed. [1/1] Cythonizing imagecodecs/_jpegxr.pyx building 'imagecodecs._jpegxr' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -D__ANSI__=1 -Iimagecodecs -I/usr/include/jxrlib -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_jpegxr.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_jpegxr.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_jpegxr.c:1262: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_jpegxr.c:31049:18: warning: ‘__pyx_f_11imagecodecs_7_jpegxr_pixelformat_str’ defined but not used [-Wunused-function] 31049 | static PyObject *__pyx_f_11imagecodecs_7_jpegxr_pixelformat_str(PKPixelFormatGUID *__pyx_v_pf) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_jpegxr.o -L/usr/lib64 -lm -ljpegxr -ljxrglue -o build/lib.linux-s390x-cpython-313/imagecodecs/_jpegxr.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_lerc.pyx because it changed. [1/1] Cythonizing imagecodecs/_lerc.pyx building 'imagecodecs._lerc' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_lerc.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_lerc.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_lerc.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_lerc.o -L/usr/lib64 -lm -lLerc -o build/lib.linux-s390x-cpython-313/imagecodecs/_lerc.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_lz4.pyx because it changed. [1/1] Cythonizing imagecodecs/_lz4.pyx building 'imagecodecs._lz4' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_lz4.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_lz4.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_lz4.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_lz4.o -L/usr/lib64 -lm -llz4 -o build/lib.linux-s390x-cpython-313/imagecodecs/_lz4.cpython-313-s390x-linux-gnu.so warning: imagecodecs/_lzma.pyx:127:27: Assigning to 'uint8_t *' from 'const uint8_t *' discards const qualifier warning: imagecodecs/_lzma.pyx:176:27: Assigning to 'uint8_t *' from 'const uint8_t *' discards const qualifier Compiling imagecodecs/_lzma.pyx because it changed. [1/1] Cythonizing imagecodecs/_lzma.pyx building 'imagecodecs._lzma' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_lzma.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_lzma.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_lzma.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_lzma.o -L/usr/lib64 -lm -llzma -o build/lib.linux-s390x-cpython-313/imagecodecs/_lzma.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_png.pyx because it changed. [1/1] Cythonizing imagecodecs/_png.pyx building 'imagecodecs._png' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_png.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_png.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_png.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_png.o -L/usr/lib64 -lm -lpng -o build/lib.linux-s390x-cpython-313/imagecodecs/_png.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_rcomp.pyx because it changed. [1/1] Cythonizing imagecodecs/_rcomp.pyx building 'imagecodecs._rcomp' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_rcomp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_rcomp.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_rcomp.c:1251: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ In file included from imagecodecs/_rcomp.c:2773: /usr/include/python3.13/structmember.h:46:9: warning: "READONLY" redefined 46 | #define READONLY Py_READONLY | ^~~~~~~~ In file included from imagecodecs/_rcomp.c:1258: /usr/include/cfitsio/fitsio.h:284:9: note: this is the location of the previous definition 284 | #define READONLY 0 /* options when opening a file */ | ^~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_rcomp.o -L/usr/lib64 -lm -lcfitsio -lz -o build/lib.linux-s390x-cpython-313/imagecodecs/_rcomp.cpython-313-s390x-linux-gnu.so warning: imagecodecs/_shared.pyx:98:4: The 'IF' statement is deprecated and will be removed in a future Cython version. Consider using runtime conditions or C macros instead. See https://github.com/cython/cython/issues/4310 Compiling imagecodecs/_shared.pyx because it changed. [1/1] Cythonizing imagecodecs/_shared.pyx building 'imagecodecs._shared' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_shared.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_shared.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_shared.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_shared.o -L/usr/lib64 -lm -o build/lib.linux-s390x-cpython-313/imagecodecs/_shared.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_snappy.pyx because it changed. [1/1] Cythonizing imagecodecs/_snappy.pyx building 'imagecodecs._snappy' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_snappy.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_snappy.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_snappy.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_snappy.o -L/usr/lib64 -lm -lsnappy -o build/lib.linux-s390x-cpython-313/imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_tiff.pyx:763:5: Exception check on 'dirlist_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'dirlist_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'dirlist_del' to allow an error code to be returned. Compiling imagecodecs/_tiff.pyx because it changed. [1/1] Cythonizing imagecodecs/_tiff.pyx building 'imagecodecs._tiff' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_tiff.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_tiff.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_tiff.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_tiff.c:28927:47: warning: ‘__pyx_f_11imagecodecs_5_tiff_memtif_new’ defined but not used [-Wunused-function] 28927 | static __pyx_t_11imagecodecs_5_tiff_memtif_t *__pyx_f_11imagecodecs_5_tiff_memtif_new(toff_t __pyx_v_size, toff_t __pyx_v_inc) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_tiff.o -L/usr/lib64 -lm -ltiff -o build/lib.linux-s390x-cpython-313/imagecodecs/_tiff.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_webp.pyx because it changed. [1/1] Cythonizing imagecodecs/_webp.pyx building 'imagecodecs._webp' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_webp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_webp.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_webp.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_webp.o -L/usr/lib64 -lm -lwebp -o build/lib.linux-s390x-cpython-313/imagecodecs/_webp.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_zfp.pyx because it changed. [1/1] Cythonizing imagecodecs/_zfp.pyx building 'imagecodecs._zfp' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_zfp.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zfp.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zfp.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_zfp.c: In function ‘__pyx_pf_11imagecodecs_4_zfp_4zfp_encode.isra.0’: imagecodecs/_zfp.c:22154:23: warning: ‘__pyx_v_ny’ may be used uninitialized [-Wmaybe-uninitialized] 22154 | __pyx_v_field = zfp_field_3d(((void *)__pyx_t_20), __pyx_v_ztype, __pyx_v_nx, __pyx_v_ny, __pyx_v_nz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20629:10: note: ‘__pyx_v_ny’ was declared here 20629 | size_t __pyx_v_ny; | ^~~~~~~~~~ imagecodecs/_zfp.c:22154:23: warning: ‘__pyx_v_nz’ may be used uninitialized [-Wmaybe-uninitialized] 22154 | __pyx_v_field = zfp_field_3d(((void *)__pyx_t_20), __pyx_v_ztype, __pyx_v_nx, __pyx_v_ny, __pyx_v_nz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20630:10: note: ‘__pyx_v_nz’ was declared here 20630 | size_t __pyx_v_nz; | ^~~~~~~~~~ imagecodecs/_zfp.c:22237:23: warning: ‘__pyx_v_nw’ may be used uninitialized [-Wmaybe-uninitialized] 22237 | __pyx_v_field = zfp_field_4d(((void *)__pyx_t_20), __pyx_v_ztype, __pyx_v_nx, __pyx_v_ny, __pyx_v_nz, __pyx_v_nw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20631:10: note: ‘__pyx_v_nw’ was declared here 20631 | size_t __pyx_v_nw; | ^~~~~~~~~~ imagecodecs/_zfp.c:22217:7: warning: ‘__pyx_v_sy’ may be used uninitialized [-Wmaybe-uninitialized] 22217 | zfp_field_set_stride_3d(__pyx_v_field, __pyx_v_sx, __pyx_v_sy, __pyx_v_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20633:13: note: ‘__pyx_v_sy’ was declared here 20633 | ptrdiff_t __pyx_v_sy; | ^~~~~~~~~~ imagecodecs/_zfp.c:22217:7: warning: ‘__pyx_v_sz’ may be used uninitialized [-Wmaybe-uninitialized] 22217 | zfp_field_set_stride_3d(__pyx_v_field, __pyx_v_sx, __pyx_v_sy, __pyx_v_sz); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20634:13: note: ‘__pyx_v_sz’ was declared here 20634 | ptrdiff_t __pyx_v_sz; | ^~~~~~~~~~ imagecodecs/_zfp.c:22300:7: warning: ‘__pyx_v_sw’ may be used uninitialized [-Wmaybe-uninitialized] 22300 | zfp_field_set_stride_4d(__pyx_v_field, __pyx_v_sx, __pyx_v_sy, __pyx_v_sz, __pyx_v_sw); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ imagecodecs/_zfp.c:20635:13: note: ‘__pyx_v_sw’ was declared here 20635 | ptrdiff_t __pyx_v_sw; | ^~~~~~~~~~ imagecodecs/_zfp.c:22406:21: warning: ‘__pyx_v_minbits’ may be used uninitialized [-Wmaybe-uninitialized] 22406 | __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:20624:21: note: ‘__pyx_v_minbits’ was declared here 20624 | __pyx_t_3zfp_uint __pyx_v_minbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22406:21: warning: ‘__pyx_v_maxbits’ may be used uninitialized [-Wmaybe-uninitialized] 22406 | __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:20625:21: note: ‘__pyx_v_maxbits’ was declared here 20625 | __pyx_t_3zfp_uint __pyx_v_maxbits; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22406:21: warning: ‘__pyx_v_maxprec’ may be used uninitialized [-Wmaybe-uninitialized] 22406 | __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:20626:21: note: ‘__pyx_v_maxprec’ was declared here 20626 | __pyx_t_3zfp_uint __pyx_v_maxprec; | ^~~~~~~~~~~~~~~ imagecodecs/_zfp.c:22406:21: warning: ‘__pyx_v_minexp’ may be used uninitialized [-Wmaybe-uninitialized] 22406 | __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:20627:21: note: ‘__pyx_v_minexp’ was declared here 20627 | __pyx_t_3zfp_uint __pyx_v_minexp; | ^~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zfp.o -L/usr/lib64 -lm -lzfp -o build/lib.linux-s390x-cpython-313/imagecodecs/_zfp.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_zlib.pyx:334:5: Exception check on 'output_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'output_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'output_del' to allow an error code to be returned. Compiling imagecodecs/_zlib.pyx because it changed. [1/1] Cythonizing imagecodecs/_zlib.pyx building 'imagecodecs._zlib' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_zlib.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zlib.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zlib.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_zlib.c:23578:12: warning: ‘__pyx_f_11imagecodecs_5_zlib_output_seek’ defined but not used [-Wunused-function] 23578 | static int __pyx_f_11imagecodecs_5_zlib_output_seek(__pyx_t_11imagecodecs_5_zlib_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zlib.o -L/usr/lib64 -lm -lz -o build/lib.linux-s390x-cpython-313/imagecodecs/_zlib.cpython-313-s390x-linux-gnu.so performance hint: imagecodecs/_zlibng.pyx:336:5: Exception check on 'output_del' will always require the GIL to be acquired. Possible solutions: 1. Declare 'output_del' as 'noexcept' if you control the definition and you're sure you don't want the function to raise exceptions. 2. Use an 'int' return type on 'output_del' to allow an error code to be returned. Compiling imagecodecs/_zlibng.pyx because it changed. [1/1] Cythonizing imagecodecs/_zlibng.pyx building 'imagecodecs._zlibng' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_zlibng.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zlibng.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zlibng.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ imagecodecs/_zlibng.c:23585:12: warning: ‘__pyx_f_11imagecodecs_7_zlibng_output_seek’ defined but not used [-Wunused-function] 23585 | static int __pyx_f_11imagecodecs_7_zlibng_output_seek(__pyx_t_11imagecodecs_7_zlibng_output_t *__pyx_v_output, size_t __pyx_v_pos) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zlibng.o -L/usr/lib64 -lm -lz-ng -o build/lib.linux-s390x-cpython-313/imagecodecs/_zlibng.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_zopfli.pyx because it changed. [1/1] Cythonizing imagecodecs/_zopfli.pyx building 'imagecodecs._zopfli' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/zopfli -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_zopfli.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zopfli.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zopfli.c:1251: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zopfli.o -L/usr/lib64 -lm -lzopfli -o build/lib.linux-s390x-cpython-313/imagecodecs/_zopfli.cpython-313-s390x-linux-gnu.so Compiling imagecodecs/_zstd.pyx because it changed. [1/1] Cythonizing imagecodecs/_zstd.pyx building 'imagecodecs._zstd' extension gcc -fno-strict-overflow -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -fexceptions -fexceptions -fexceptions -O3 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio -fPIC -Iimagecodecs -I/usr/include/python3.13 -I/usr/lib64/python3.13/site-packages/numpy/core/include -c imagecodecs/_zstd.c -o build/temp.linux-s390x-cpython-313/imagecodecs/_zstd.o In file included from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/arrayobject.h:5, from imagecodecs/_zstd.c:1250: /usr/lib64/python3.13/site-packages/numpy/core/include/numpy/npy_1_7_deprecated_api.h:17:2: warning: #warning "Using deprecated NumPy API, disable it with " "#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] 17 | #warning "Using deprecated NumPy API, disable it with " \ | ^~~~~~~ gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/cfitsio build/temp.linux-s390x-cpython-313/imagecodecs/_zstd.o -L/usr/lib64 -lm -lzstd -o build/lib.linux-s390x-cpython-313/imagecodecs/_zstd.cpython-313-s390x-linux-gnu.so installing to build/bdist.linux-s390x/wheel running install running install_lib creating build/bdist.linux-s390x creating build/bdist.linux-s390x/wheel creating build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/__init__.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/__main__.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_imagecodecs.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/imagecodecs.py -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/numcodecs.py -> build/bdist.linux-s390x/wheel/imagecodecs creating build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-aom -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-bitshuffle -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-blosc -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-blosc2 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-brotli -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-brunsli -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-bzip2 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-cfitsio -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-charls -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-dav1d -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-fastlz -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-giflib -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-highway -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jetraw -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jpg_0xc3 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-jxrlib -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lcms2 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lerc -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libaec -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libaivf -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libdeflate -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libjpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libjpeg-turbo -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libjxl -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-liblj92 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-liblzma -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libmng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libpng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libspng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libtiff -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-libwebp -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lz4 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lzf -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lzfse -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-lzham -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-mozjpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-openjpeg -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-postgresql -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-qoi -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-rav1e -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-snappy -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-svt-av1 -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zfp -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zlib -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zlib-ng -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zopfli -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/LICENSE-zstd -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/licenses/PATENTS-rav1e -> build/bdist.linux-s390x/wheel/imagecodecs/licenses copying build/lib.linux-s390x-cpython-313/imagecodecs/_aec.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_avif.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_blosc.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_blosc2.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_brotli.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_bz2.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_cms.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_deflate.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_gif.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_heif.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_imcd.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_jpeg8.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_jpegxr.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_lerc.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_lz4.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_lzma.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_png.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_rcomp.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_shared.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_tiff.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_webp.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zfp.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zlib.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zlibng.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zopfli.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs copying build/lib.linux-s390x-cpython-313/imagecodecs/_zstd.cpython-313-s390x-linux-gnu.so -> build/bdist.linux-s390x/wheel/imagecodecs running install_egg_info running egg_info writing imagecodecs.egg-info/PKG-INFO writing dependency_links to imagecodecs.egg-info/dependency_links.txt writing entry points to imagecodecs.egg-info/entry_points.txt writing requirements to imagecodecs.egg-info/requires.txt writing top-level names to imagecodecs.egg-info/top_level.txt reading manifest file 'imagecodecs.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'imagecodecs/*.cpp' warning: no files found matching 'imagecodecs/patches/*' warning: no files found matching '3rdparty/*' warning: no files found matching '3rdparty/*/*' warning: no files found matching 'tests/*.zfp' warning: no files found matching 'tests/*.icc' warning: no files found matching 'tests/*.jxl' warning: no files found matching 'tests/*.tif' warning: no files found matching 'tests/*.apng' warning: no previously-included files found matching 'tests/libaec/121B2TestData/ExtendedParameters/*.*' warning: no previously-included files found matching 'tests/tiff/gray.movie.*.tif' warning: no previously-included files found matching 'tests/ljpeg/dcm*.ljp' warning: no previously-included files found matching 'tests/ljpeg/2ch.ljp' warning: no previously-included files found matching 'tests/ljpeg/pvrg.ljp' warning: no previously-included files found matching 'tests/33792x79872.jpg' warning: no previously-included files found matching 'tests/jpegxr.czi' warning: no previously-included files found matching 'tests/jetraw.bin' warning: no previously-included files found matching '*.cmd' warning: no previously-included files found matching 'build_utils/*' warning: no previously-included files matching '*' found under directory 'doc' warning: no previously-included files matching '*' found under directory 'docs' warning: no previously-included files matching '__pycache__' found under directory '*' warning: no previously-included files matching '*.py[co]' found under directory '*' warning: no previously-included files matching '*-' found under directory '*' warning: no previously-included files matching '*.html' found under directory '*' warning: no previously-included files matching '*Copy*.*' found under directory '*' adding license file 'LICENSE' writing manifest file 'imagecodecs.egg-info/SOURCES.txt' Copying imagecodecs.egg-info to build/bdist.linux-s390x/wheel/imagecodecs-2023.1.23-py3.13.egg-info running install_scripts creating build/bdist.linux-s390x/wheel/imagecodecs-2023.1.23.dist-info/WHEEL creating '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir/pip-wheel-g7jxdr80/.tmp-vs666v1m/imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl' and adding 'build/bdist.linux-s390x/wheel' to it adding 'imagecodecs/__init__.py' adding 'imagecodecs/__main__.py' adding 'imagecodecs/_aec.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_avif.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_blosc.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_blosc2.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_brotli.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_bz2.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_cms.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_deflate.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_gif.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_heif.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_imagecodecs.py' adding 'imagecodecs/_imcd.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_jpeg8.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_jpegxr.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_lerc.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_lz4.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_lzma.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_png.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_rcomp.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_shared.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_snappy.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_tiff.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_webp.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zfp.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zlib.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zlibng.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zopfli.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/_zstd.cpython-313-s390x-linux-gnu.so' adding 'imagecodecs/imagecodecs.py' adding 'imagecodecs/numcodecs.py' adding 'imagecodecs/licenses/LICENSE-aom' adding 'imagecodecs/licenses/LICENSE-bitshuffle' adding 'imagecodecs/licenses/LICENSE-blosc' adding 'imagecodecs/licenses/LICENSE-blosc2' adding 'imagecodecs/licenses/LICENSE-brotli' adding 'imagecodecs/licenses/LICENSE-brunsli' adding 'imagecodecs/licenses/LICENSE-bzip2' adding 'imagecodecs/licenses/LICENSE-cfitsio' adding 'imagecodecs/licenses/LICENSE-charls' adding 'imagecodecs/licenses/LICENSE-dav1d' adding 'imagecodecs/licenses/LICENSE-fastlz' adding 'imagecodecs/licenses/LICENSE-giflib' adding 'imagecodecs/licenses/LICENSE-highway' adding 'imagecodecs/licenses/LICENSE-jetraw' adding 'imagecodecs/licenses/LICENSE-jpeg' adding 'imagecodecs/licenses/LICENSE-jpg_0xc3' adding 'imagecodecs/licenses/LICENSE-jxrlib' adding 'imagecodecs/licenses/LICENSE-lcms2' adding 'imagecodecs/licenses/LICENSE-lerc' adding 'imagecodecs/licenses/LICENSE-libaec' adding 'imagecodecs/licenses/LICENSE-libaivf' adding 'imagecodecs/licenses/LICENSE-libdeflate' adding 'imagecodecs/licenses/LICENSE-libjpeg' adding 'imagecodecs/licenses/LICENSE-libjpeg-turbo' adding 'imagecodecs/licenses/LICENSE-libjxl' adding 'imagecodecs/licenses/LICENSE-liblj92' adding 'imagecodecs/licenses/LICENSE-liblzma' adding 'imagecodecs/licenses/LICENSE-libmng' adding 'imagecodecs/licenses/LICENSE-libpng' adding 'imagecodecs/licenses/LICENSE-libspng' adding 'imagecodecs/licenses/LICENSE-libtiff' adding 'imagecodecs/licenses/LICENSE-libwebp' adding 'imagecodecs/licenses/LICENSE-lz4' adding 'imagecodecs/licenses/LICENSE-lzf' adding 'imagecodecs/licenses/LICENSE-lzfse' adding 'imagecodecs/licenses/LICENSE-lzham' adding 'imagecodecs/licenses/LICENSE-mozjpeg' adding 'imagecodecs/licenses/LICENSE-openjpeg' adding 'imagecodecs/licenses/LICENSE-postgresql' adding 'imagecodecs/licenses/LICENSE-qoi' adding 'imagecodecs/licenses/LICENSE-rav1e' adding 'imagecodecs/licenses/LICENSE-snappy' adding 'imagecodecs/licenses/LICENSE-svt-av1' adding 'imagecodecs/licenses/LICENSE-zfp' adding 'imagecodecs/licenses/LICENSE-zlib' adding 'imagecodecs/licenses/LICENSE-zlib-ng' adding 'imagecodecs/licenses/LICENSE-zopfli' adding 'imagecodecs/licenses/LICENSE-zstd' adding 'imagecodecs/licenses/PATENTS-rav1e' adding 'imagecodecs-2023.1.23.dist-info/LICENSE' adding 'imagecodecs-2023.1.23.dist-info/METADATA' adding 'imagecodecs-2023.1.23.dist-info/WHEEL' adding 'imagecodecs-2023.1.23.dist-info/entry_points.txt' adding 'imagecodecs-2023.1.23.dist-info/top_level.txt' adding 'imagecodecs-2023.1.23.dist-info/RECORD' removing build/bdist.linux-s390x/wheel Building wheel for imagecodecs (pyproject.toml): finished with status 'done' Created wheel for imagecodecs: filename=imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl size=15629542 sha256=e63d9bf91171527da8c7402fea299c59e79b822ab8898072168196ad531b7caa Stored in directory: /builddir/.cache/pip/wheels/8e/14/ea/5f08b686876016e9d4530b0838a0033226132ab94878c64c6b Successfully built imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ms1NGv + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + '[' /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT ++ dirname /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT + mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + mkdir /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagecodecs-2023.1.23 ++ ls /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir/imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl ++ sed -E 's/([^-]+)-([^-]+)-.+\.whl/\1==\2/' ++ xargs basename --multiple + specifier=imagecodecs==2023.1.23 + '[' -z imagecodecs==2023.1.23 ']' + TMPDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir + /usr/bin/python3 -m pip install --root /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT --prefix /usr --no-deps --disable-pip-version-check --progress-bar off --verbose --ignore-installed --no-warn-script-location --no-index --no-cache-dir --find-links /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir imagecodecs==2023.1.23 Using pip 24.2 from /usr/lib/python3.13/site-packages/pip (python 3.13) Looking in links: /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/pyproject-wheeldir Processing ./pyproject-wheeldir/imagecodecs-2023.1.23-cp313-cp313-linux_s390x.whl Installing collected packages: imagecodecs Creating /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin changing mode of /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/imagecodecs to 755 Successfully installed imagecodecs-2023.1.23 + '[' -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin ']' + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/imagecodecs /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/imagecodecs: updating + rm -rfv /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin/__pycache__ + rm -f /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-ghost-distinfo + site_dirs=() + '[' -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages '!=' /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/python3.13/site-packages ']' + '[' -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages ']' + site_dirs+=("/usr/lib64/python3.13/site-packages") + for site_dir in ${site_dirs[@]} + for distinfo in /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT$site_dir/*.dist-info + echo '%ghost /usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info' + sed -i s/pip/rpm/ /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/INSTALLER + PYTHONPATH=/usr/lib/rpm/redhat + /usr/bin/python3 -B /usr/lib/rpm/redhat/pyproject_preprocess_record.py --buildroot /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT --record /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/RECORD --output /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-record + rm -fv /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/RECORD removed '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/RECORD' + rm -fv /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/REQUESTED removed '/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs-2023.1.23.dist-info/REQUESTED' ++ wc -l /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-ghost-distinfo ++ cut -f1 '-d ' + lines=1 + '[' 1 -ne 1 ']' + RPM_FILES_ESCAPE=4.19 + /usr/bin/python3 /usr/lib/rpm/redhat/pyproject_save_files.py --output-files /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-files --output-modules /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-modules --buildroot /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT --sitelib /usr/lib/python3.13/site-packages --sitearch /usr/lib64/python3.13/site-packages --python-version 3.13 --pyproject-record /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/python-imagecodecs-2023.1.23-4.fc42.s390x-pyproject-record --prefix /usr imagecodecs + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2023.1.23-4.fc42 --unique-debug-suffix -2023.1.23-4.fc42.s390x --unique-debug-src-base python-imagecodecs-2023.1.23-4.fc42.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23 find-debuginfo: starting Extracting debug info from 27 files DWARF-compressing 27 files sepdebugcrcfix: Updated 27 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/python-imagecodecs-2023.1.23-4.fc42.s390x 73520 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13 using python3.13 Bytecompiling .py files below /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/debug/usr/lib64/python3.13 using python3.13 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j2 /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/__init__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/__main__.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/_imagecodecs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/imagecodecs.cpython-313.pyc: rewriting with normalized contents /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/numcodecs.cpython-313.opt-1.pyc: replacing with normalized version /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/__pycache__/numcodecs.cpython-313.pyc: replacing with normalized version Scanned 22 directories and 155 files, processed 6 inodes, 6 modified (2 replaced + 4 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.sG8eB7 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd imagecodecs-2023.1.23 + TEST_OPTS=(--deselect "tests/test_imagecodecs.py::test_cms_identity_transforms" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-size]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-size]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-new]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-bytearray]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-out]" --deselect "tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-size]" --deselect tests/test_imagecodecs.py::test_spng_encode --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out--1]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-None]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-5]" --deselect "tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray--1]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-True]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-True]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-gray]" --deselect "tests/test_imagecodecs.py::test_numcodecs[heif-rgb]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]" --deselect "tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]" --deselect "tests/test_imagecodecs.py::test_tiff_index[0]" --deselect "tests/test_imagecodecs.py::test_tiff_index[3]" --deselect "tests/test_imagecodecs.py::test_tiff_index[None]" --deselect "tests/test_imagecodecs.py::test_tiff_index[list]" --deselect "tests/test_imagecodecs.py::test_tiff_index[slice]" --deselect "tests/test_imagecodecs.py::test_tiff_asrgb" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]" --deselect "tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]") + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=z13 -mtune=z14 -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + PATH=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages:/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib/python3.13/site-packages + PYTHONDONTWRITEBYTECODE=1 + PYTEST_ADDOPTS=' --ignore=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/.pyproject-builddir' + PYTEST_XDIST_AUTO_NUM_WORKERS=2 + /usr/bin/pytest -v --deselect tests/test_imagecodecs.py::test_cms_identity_transforms --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-size]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-size]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-new]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-bytearray]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-out]' --deselect 'tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-size]' --deselect tests/test_imagecodecs.py::test_spng_encode --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-new--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-out--1]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-None]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray-5]' --deselect 'tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-bytearray--1]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.lerc.u1-True]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lerc.u1-True]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-gray]' --deselect 'tests/test_imagecodecs.py::test_numcodecs[heif-rgb]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.c8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.f2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.c16-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.i8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.u8-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-False]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[0]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[3]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[None]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[list]' --deselect 'tests/test_imagecodecs.py::test_tiff_index[slice]' --deselect tests/test_imagecodecs.py::test_tiff_asrgb --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-False-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[deflate-True-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-False-f4->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u1-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u1->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-u2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f2-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f2->]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f4-<]' --deselect 'tests/test_imagecodecs.py::test_tifffile[lzma-True-f4->]' ============================= test session starts ============================== platform linux -- Python 3.13.0rc2, pytest-8.3.3, pluggy-1.5.0 -- /usr/bin/python3 cachedir: .pytest_cache Python 3.13.0rc2 (main, Sep 19 2024, 00:00:00) [GCC 14.2.1 20240912 (Red Hat 14.2.1-3)] packagedir: /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs version: imagecodecs-2023.1.23, cython-3.0.11, numpy-1.26.4, numpy_abi-0x1000009.13, imcd-2022.12.22, apng-n/a, bitshuffle-n/a, brotli-1.1.0, brunsli-n/a, c-blosc-1.21.6, c-blosc2-2.15.1, cfitsio-4.5, giflib-5.2.2, imcd-2022.12.22, jetraw-n/a, jpeg12-n/a, jpeg2k-n/a, jpegls-n/a, jpegsof3-n/a, jpegxl-n/a, jxrlib-1.1, lcms2-2.16.0, lerc-4.0.0, libaec-1.0.x, libavif-1.0.4, libbzip2-1.0.8, libdeflate-1.21, libheif-1.17.6, libjpeg_turbo-3.0.4/6.2, liblzma-5.6.2, libpng-1.6.44, libtiff-4.6.0, libwebp-1.4.0, ljpeg-n/a, lz4-1.10.0, lz4f-n/a, lzf-n/a, lzfse-n/a, lzham-n/a, mozjpeg-n/a, pglz-n/a, qoi-n/a, rgbe-n/a, snappy-1.1.x, spng-n/a, zfp-1.0.1, zlib-1.3.1.zlib-ng, zlib_ng-2.2.2, zopfli-1.0.x, zstd-1.5.6 dependencies: imagecodecs.py-2022.12.22, numpy-1.26.4, zlib-1.3.1.zlib-ng, bz2-stdlib, lzma-stdlib, blosc-1.11.2, blosc2-2.5.1, zstd-.5.5., lz4-4.3.3, lzf-n/a, lzham-n/a, pyliblzfse-n/a, snappy-unknown, zopflipy-n/a, zfpy-n/a, bitshuffle-n/a, pillow-n/a, numcodecs-0.13.0, zarr-2.16.1, tifffile-2024.9.20, czifile-n/a rootdir: /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23 collecting ... collected 10337 items / 296 deselected / 10041 selected tests/test_imagecodecs.py::test_version PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[aec] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[apng] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[avif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[bitshuffle] XFAIL (imag...) [ 0%] tests/test_imagecodecs.py::test_module_exist[blosc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[blosc2] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[brunsli] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[bz2] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[cms] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[deflate] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[gif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[heif] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[imcd] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[jetraw] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpeg12] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpeg2k] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpeg8] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegls] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegsof3] XFAIL (imagec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegxl] XFAIL (imagecod...) [ 0%] tests/test_imagecodecs.py::test_module_exist[jpegxr] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[lerc] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[ljpeg] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lz4] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[lz4f] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzf] XFAIL (imagecodecs...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzfse] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzham] XFAIL (imagecode...) [ 0%] tests/test_imagecodecs.py::test_module_exist[lzma] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[mozjpeg] XFAIL (imageco...) [ 0%] tests/test_imagecodecs.py::test_module_exist[pglz] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[png] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[qoi] XFAIL (imagecodecs...) [ 0%] tests/test_imagecodecs.py::test_module_exist[rcomp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[rgbe] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[snappy] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[spng] XFAIL (imagecodec...) [ 0%] tests/test_imagecodecs.py::test_module_exist[tiff] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[webp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zfp] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zlib] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zlibng] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zopfli] PASSED [ 0%] tests/test_imagecodecs.py::test_module_exist[zstd] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[bitshuffle] SKIPPED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[blosc] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[blosc2] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[brotli] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[czifile] SKIPPED (c...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[lz4] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[lzf] SKIPPED (lzf m...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[liblzfse] SKIPPED (...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[lzma] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[numcodecs] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[snappy] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[tifffile] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[zopfli] SKIPPED (zo...) [ 0%] tests/test_imagecodecs.py::test_dependency_exist[zstd] PASSED [ 0%] tests/test_imagecodecs.py::test_dependency_exist[zarr] PASSED [ 0%] tests/test_imagecodecs.py::test_version_functions PASSED [ 0%] tests/test_imagecodecs.py::test_stubs PASSED [ 0%] tests/test_imagecodecs.py::test_dir PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[str-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[pathlib-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytesio-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-none] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-str] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-ext] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-codec] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-list] PASSED [ 0%] tests/test_imagecodecs.py::test_imread_imwrite[bytes-fail] PASSED [ 0%] tests/test_imagecodecs.py::test_none PASSED [ 0%] tests/test_imagecodecs.py::test_bitorder PASSED [ 0%] tests/test_imagecodecs.py::test_bitorder_ndarray PASSED [ 0%] tests/test_imagecodecs.py::test_packints_decode FAILED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-0] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-1] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-2] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-3] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-4] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-5] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-6] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-7] PASSED [ 0%] tests/test_imagecodecs.py::test_packbits[encode-8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[encode-28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-0] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-1] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-2] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-3] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-4] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-5] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-6] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-7] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits[decode-28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[0] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[1] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[2] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[3] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[4] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[5] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[6] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[7] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[8] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[9] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[10] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[11] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[12] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[13] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[14] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[15] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[16] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[17] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[18] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[19] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[20] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[21] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[22] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[23] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[24] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[25] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[26] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[27] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_py[28] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_nop PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-encode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-encode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-decode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint8-decode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-encode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-encode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-decode-None] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_array[uint16-decode-array] PASSED [ 1%] tests/test_imagecodecs.py::test_packbits_encode_axis PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-encode-inplace] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u1-decode-inplace] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-encode-inplace] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-new] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-out] PASSED [ 1%] tests/test_imagecodecs.py::test_delta[delta->-u2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-u8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-i8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-f8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-B-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta->-b-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u4-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-u8-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i1-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i2-decode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-out] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-encode-inplace] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-new] PASSED [ 2%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-i8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-f8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-B-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[delta-<-b-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-u8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i1-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i2-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-i8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f4-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-f8-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-encode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-B-decode-inplace] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-new] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-out] PASSED [ 3%] tests/test_imagecodecs.py::test_delta[xor->-b-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor->-b-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u1-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u2-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-u8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i1-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i2-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-i8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f4-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-f8-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-B-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-encode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_delta[xor-<-b-decode-inplace] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-le-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[False-be-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-encode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-encode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-decode-new] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-le-decode-out] PASSED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-encode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-encode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-decode-new] FAILED [ 4%] tests/test_imagecodecs.py::test_floatpred[True-be-decode-out] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f30-f40-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f31-f41-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f32-f42-nan] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f33-f43-inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f34-f44--inf] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f35-f45-0.0] PASSED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f36-f46--0.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f37-f47-1.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f38-f48--1.0] FAILED [ 4%] tests/test_imagecodecs.py::test_float24[encode->-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f312-f412-1e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f314-f414-1.0842022e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f315-f415-1.0842021e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f316-f416-5.421011e-20] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f317-f417-3.3087225e-24] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f318-f418-2.1684043e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f320-f420-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode->-f322-f422-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f36-f46--0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f312-f412-1e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f314-f414-1.0842022e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f315-f415-1.0842021e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f316-f416-5.421011e-20] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f317-f417-3.3087225e-24] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f318-f418-2.1684043e-19] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f320-f420-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[encode-<-f322-f422-0.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f36-f46--0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f312-f412-1e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f314-f414-1.0842022e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f315-f415-1.0842021e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f316-f416-5.421011e-20] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f317-f417-3.3087225e-24] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f318-f418-2.1684043e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f320-f420-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode->-f322-f422-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f30-f40-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f31-f41-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f32-f42-nan] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f33-f43-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f34-f44--inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f35-f45-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f36-f46--0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f37-f47-1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f38-f48--1.0] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f39-f49-3.1416016] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f310-f410-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f311-f411-3.1415839e-06] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f312-f412-1e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f313-f413-inf] FAILED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f314-f414-1.0842022e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f315-f415-1.0842021e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f316-f416-5.421011e-20] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f317-f417-3.3087225e-24] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f318-f418-2.1684043e-19] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f319-f419-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f320-f420-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f321-f421-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24[decode-<-f322-f422-0.0] PASSED [ 5%] tests/test_imagecodecs.py::test_float24_roundtrip[>] PASSED [ 5%] tests/test_imagecodecs.py::test_float24_roundtrip[<] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_corrupt PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_msb PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[new] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[size] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[ndarray] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode[bytearray] PASSED [ 5%] tests/test_imagecodecs.py::test_lzw_decode_image_noeoi PASSED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-new] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-bytearray] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-out] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-size] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-excess] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-0-trunc] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-new] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-bytearray] SKIPPED [ 5%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-2-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-encode-3069-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-0-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-2-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-new] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-bytearray] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-out] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-size] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-excess] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[bitshuffle-decode-3069-trunc] SKIPPED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-new] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-bytearray] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-out] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-size] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-excess] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-0-trunc] XFAIL [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-encode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[brotli-decode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-encode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-0-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-2-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-new] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-bytearray] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-out] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-size] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-excess] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc-decode-3069-trunc] PASSED [ 6%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[blosc2-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[bz2-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-encode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-0-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-2-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[deflate-decode-3069-trunc] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-new] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-bytearray] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-out] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-size] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-excess] PASSED [ 7%] tests/test_imagecodecs.py::test_compressors[gzip-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[gzip-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4-decode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-encode-3069-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-0-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-size] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-excess] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-2-trunc] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-new] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-bytearray] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-out] PASSED [ 8%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-size] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-excess] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4h-decode-3069-trunc] PASSED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lz4f-decode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzf-decode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-2-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-encode-3069-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-out] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-size] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-excess] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-0-trunc] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-new] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-bytearray] SKIPPED [ 9%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzfse-decode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-encode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-0-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-2-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-new] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-bytearray] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-out] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-size] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-excess] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzham-decode-3069-trunc] SKIPPED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-encode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzma-decode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-0-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-2-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-new] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-bytearray] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-out] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-size] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-excess] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-encode-3069-trunc] PASSED [ 10%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[lzw-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[snappy-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-encode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-2-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlib-decode-3069-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-excess] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-0-trunc] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-new] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-bytearray] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-out] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-size] PASSED [ 11%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-encode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zlibng-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-0-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-2-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-encode-3069-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-0-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-2-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-new] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-bytearray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-out] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-size] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-excess] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zopfli-decode-3069-trunc] SKIPPED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-encode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-0-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-2-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-new] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-bytearray] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-out] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-size] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-excess] PASSED [ 12%] tests/test_imagecodecs.py::test_compressors[zstd-decode-3069-trunc] PASSED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-bytes] SKIPPED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-1-ndarray] SKIPPED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-bytes] SKIPPED [ 12%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[0-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[8-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-1-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-1-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-2-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-2-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-4-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-4-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-8-bytes] SKIPPED [ 13%] tests/test_imagecodecs.py::test_bitshuffle_roundtrip[64-8-ndarray] SKIPPED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-blosclz-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-lz4hc-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zlib-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[1-zstd-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-shuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-blosclz-bitshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-noshuffle-1-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-None-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-None-6] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-1-1] PASSED [ 13%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-noshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-lz4hc-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-noshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zlib-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-noshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-shuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-None-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-None-6] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-1-1] PASSED [ 14%] tests/test_imagecodecs.py::test_blosc_roundtrip[2-zstd-bitshuffle-1-6] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_extended[name0-bytes] SKIPPED (g...) [ 14%] tests/test_imagecodecs.py::test_aec_extended[name0-numpy] SKIPPED (g...) [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n01-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n01-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n02-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n02-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n03-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n03-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n04-basic] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n04-restricted] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n05] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n06] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n07] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n08] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n09] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n10] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n11] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n12] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n13] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n14] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n15] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p256n16] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n17] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n18] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n19] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n20] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n21] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n22] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n23] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n24] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n25] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n26] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n27] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n28] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n29] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n30] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n31] PASSED [ 14%] tests/test_imagecodecs.py::test_aec_options[p512n32] PASSED [ 14%] tests/test_imagecodecs.py::test_pglz SKIPPED (pglz missing) [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[1-i4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[2-i4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[3-i4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u1] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u2] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-u4] PASSED [ 14%] tests/test_imagecodecs.py::test_rcomp[4-i1] PASSED [ 15%] tests/test_imagecodecs.py::test_rcomp[4-i2] PASSED [ 15%] tests/test_imagecodecs.py::test_rcomp[4-i4] PASSED [ 15%] tests/test_imagecodecs.py::test_jetraw SKIPPED (jetraw missing) [ 15%] tests/test_imagecodecs.py::test_rgbe_decode SKIPPED (rgbe missing) [ 15%] tests/test_imagecodecs.py::test_rgbe_roundtrip SKIPPED (rgbe missing) [ 15%] tests/test_imagecodecs.py::test_cms_profile PASSED [ 15%] tests/test_imagecodecs.py::test_cms_output_shape PASSED [ 15%] tests/test_imagecodecs.py::test_cms_format FAILED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgb-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-rgba-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-444-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-422-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-420-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-411-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-0-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-0-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-25-False] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg8-gray-440-25-True] PASSED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-444-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-422-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-420-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-411-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgb-440-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-444-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-422-25-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-0-True] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-False] SKIPPED [ 15%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-rgba-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[jpeg12-gray-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgb-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-rgba-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-444-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-422-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-420-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-411-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-0-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-0-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-25-False] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg_encode[mozjpeg-gray-440-25-True] SKIPPED [ 16%] tests/test_imagecodecs.py::test_jpeg8_decode[new] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg8_decode[out] PASSED [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[new] SKIPPED (jpeg12 m...) [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[out] SKIPPED (jpeg12 m...) [ 16%] tests/test_imagecodecs.py::test_jpeg12_decode[bytearray] SKIPPED (jp...) [ 16%] tests/test_imagecodecs.py::test_jpeg_rgb_mode PASSED [ 16%] tests/test_imagecodecs.py::test_mozjpeg SKIPPED (mozjpeg missing) [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[1px.ljp-result0-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-ljpeg] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2ch.ljp-result1-jpegsof3] SKIPPED [ 16%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[2dht.ljp-result2-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[3dht.ljp-result3-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray16.ljp-result4-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[gray8.ljp-result5-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[rgb24.ljp-result6-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng0.ljp-result7-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng1.ljp-result8-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng2.ljp-result9-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng3.ljp-result10-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng4.ljp-result11-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng5.ljp-result12-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng6.ljp-result13-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dng7.ljp-result14-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1-8bit.ljp-result15-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm1.ljp-result16-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm2.ljp-result17-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm3.ljp-result18-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm4.ljp-result19-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm5.ljp-result20-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm6.ljp-result21-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[dcm7.ljp-result22-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[linearraw.ljp-result23-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-ljpeg] SKIPPED [ 17%] tests/test_imagecodecs.py::test_ljpeg[pvrg.ljp-result24-jpegsof3] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray8.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[jpegsof3-gray16.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray8.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-new] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-out] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegsof3[ljpeg-gray16.ljp-bytearray] SKIPPED [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[uint8] SKIPPED (jpegxl...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[uint16] SKIPPED (jpegx...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[float16] SKIPPED (jpeg...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_planar[float32] SKIPPED (jpeg...) [ 17%] tests/test_imagecodecs.py::test_jpegxl_bitspersample SKIPPED (jpegxl...) [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[new] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[out] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_decode[bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_fixedpoint[False] PASSED [ 17%] tests/test_imagecodecs.py::test_jpegxr_fixedpoint[True] PASSED [ 17%] tests/test_imagecodecs.py::test_avif_strict_disabled PASSED [ 17%] tests/test_imagecodecs.py::test_avif_encoder[auto] SKIPPED (avif mis...) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[aom] SKIPPED (avif missing) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[rav1e] SKIPPED (avif mi...) [ 17%] tests/test_imagecodecs.py::test_avif_encoder[svt] SKIPPED (avif missing) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[new] SKIPPED (jpegls m...) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[out] SKIPPED (jpegls m...) [ 17%] tests/test_imagecodecs.py::test_jpegls_decode[bytearray] SKIPPED (jp...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[new] SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[out] SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_brunsli_decode[bytearray] SKIPPED (b...) [ 17%] tests/test_imagecodecs.py::test_brunsli_encode_jpeg SKIPPED (brunsli...) [ 17%] tests/test_imagecodecs.py::test_webp_decode[new] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_decode[out] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_decode[bytearray] PASSED [ 17%] tests/test_imagecodecs.py::test_webp_opaque PASSED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-omp] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-None] FAILED [ 17%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-omp] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-None] FAILED [ 18%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-None] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-omp] FAILED [ 19%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-None] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-omp] FAILED [ 20%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-omp] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-None] FAILED [ 21%] tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-omp] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-None] FAILED [ 22%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED [ 23%] tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] FAILED [ 23%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED [ 24%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED [ 25%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED [ 26%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] FAILED [ 27%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] FAILED [ 28%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED [ 29%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED [ 30%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED [ 31%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED [ 32%] tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED [ 33%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-0.02] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[world.lerc1] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[california_400_400_1_float.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[bluemarble_256_256_3_byte.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_files[zstd.lerc2] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[None] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[zstd] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_compression[deflate] FAILED [ 34%] tests/test_imagecodecs.py::test_lerc_masks FAILED [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[new] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[out] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_int8_4bit[bytearray] SKIPPED [ 34%] tests/test_imagecodecs.py::test_jpeg2k_ycbc SKIPPED (jpeg2k missing) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_codecformat[0] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_codecformat[2] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_numthreads[1] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_numthreads[2] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_reversible[False] SKIPPED (jp...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_reversible[True] SKIPPED (jpe...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_mct[False] SKIPPED (jpeg2k mi...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k_mct[True] SKIPPED (jpeg2k mis...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u1-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u1-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u2-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u2-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u4-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-u4-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i1-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i1-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i2-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i2-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i4-None] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[False-i4-True] SKIPPED (jpeg2...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u1-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u1-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u2-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u2-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u4-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-u4-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i1-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i1-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i2-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i2-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i4-None] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpeg2k[True-i4-True] SKIPPED (jpeg2k...) [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-out-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-new-bytearray-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-out-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-out-bytearray-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-new-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-None] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-90] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-out-0.4] PASSED [ 34%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint8-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray uint16-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float16-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-out-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[gray float32-bytearray-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-new-bytearray-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-new-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-90] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-out-0.4] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-None] PASSED [ 35%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint8-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb uint16-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float16-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-out-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgb float32-bytearray-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-new-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-out-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-None] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-90] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-new-bytearray-0.4] PASSED [ 36%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint8-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba uint16-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float16-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-new-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-out-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-new-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-new-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-out-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-out-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-out-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-bytearray-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-bytearray-90] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[rgba float32-bytearray-bytearray-0.4] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-None] PASSED [ 37%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint8-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint8-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channels uint16-bytearray-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-new-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-new-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-out-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-out-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-out-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-bytearray-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-bytearray-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-out-bytearray-0.4] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-new-None] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-new-90] PASSED [ 38%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[channelsa uint16-bytearray-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-new-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-out-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyk uint8-bytearray-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-new-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-out-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-new-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-new-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-new-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-out-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-out-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-out-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-bytearray-None] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-bytearray-90] PASSED [ 39%] tests/test_imagecodecs.py::test_jpegxr[cmyka uint8-bytearray-bytearray-0.4] PASSED [ 39%] tests/test_imagecodecs.py::test_png_encode_fast PASSED [ 39%] tests/test_imagecodecs.py::test_apng_encode_fast SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_png_error PASSED [ 39%] tests/test_imagecodecs.py::test_apng_error SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[1-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[1-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[2-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[2-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[3-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[3-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[4-uint8] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_apng[4-uint16] SKIPPED (apng missing) [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-new-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-out--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-view--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-out-bytearray--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new-5] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-new--1] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out-None] SKIPPED [ 39%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-out-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-view-bytearray-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-view--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-bytearray-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-bytearray-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-new-bytearray--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-new-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-new-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-new--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-out-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-out-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-out--1] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-view-None] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-view-5] SKIPPED [ 40%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint8-graya-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-out-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-new-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-new--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-out-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-out-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-out--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-view-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-view-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-view--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-bytearray-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-bytearray-5] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-new-bytearray--1] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new-None] SKIPPED [ 41%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-new-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-view-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-new-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-out-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-out--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-view-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-view-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-view--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-bytearray-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-bytearray-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-gray-bytearray-bytearray--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-new-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-new-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-new--1] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-out-None] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-out-5] SKIPPED [ 42%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-out--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-view--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-new-bytearray--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-new--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-out--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-view--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-out-bytearray--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-new--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-out--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-view--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[apng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-new-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-out-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgb-bytearray-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-new-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-bytearray-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-out-bytearray--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-new-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-new-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-new--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-out-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-out-5] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-out--1] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-view-None] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-view-5] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-view--1] XFAIL [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray-None] PASSED [ 43%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray-5] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-rgba-bytearray-bytearray--1] PASSED [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-out-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-view-bytearray-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-out-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-gray-bytearray-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-new-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-new--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-out--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-view--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-out-bytearray--1] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-None] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new-5] XFAIL [ 44%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint8-graya-bytearray-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgb-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-new-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-out-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-new--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-out--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-None] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-rgba-bytearray-bytearray--1] PASSED [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-view--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-new-bytearray--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-new--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out-None] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out-5] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-out--1] XFAIL [ 45%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-view-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-gray-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-new-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-out-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-new--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-out--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-view--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-None] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray-5] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[avif-uint16-graya-bytearray-bytearray--1] XFAIL [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-new--1] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-out--1] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-view--1] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-None] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray-5] SKIPPED [ 46%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-new-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-out-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-new-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-out-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-new-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-out-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-out--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-view--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-view-bytearray-bytearray--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-None] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new-5] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-new--1] SKIPPED [ 47%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-new-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-out-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-gray-bytearray-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-new-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-out-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint8-graya-bytearray-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-new-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-view--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-out-bytearray--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-new--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-out--1] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-None] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view-5] SKIPPED [ 48%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-view-bytearray-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-new-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-new--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-out--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-view--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-None] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray-5] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-out-bytearray--1] SKIPPED [ 49%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-gray-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-new-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-out-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-new--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-out--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-view--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-None] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray-5] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[brunsli-uint16-graya-bytearray-bytearray--1] SKIPPED [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-new-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-out-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgb-bytearray-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-new-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-out-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-rgba-bytearray-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-new--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-out--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-new-bytearray--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-new--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-out--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-out-bytearray--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-new--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-out--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view-5] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-view--1] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-None] XFAIL [ 50%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-view-bytearray-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-new-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-out-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-gray-bytearray-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-new-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-out-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint8-graya-bytearray-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-new-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-out--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-view--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-out-bytearray--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-None] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new-5] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-new--1] XFAIL [ 51%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgb-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-rgba-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-out-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-view-bytearray-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-view--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-new-bytearray--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-new--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out-5] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-out--1] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-None] XFAIL [ 52%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-gray-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-new-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-out-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-new--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-out--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-view--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-None] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray-5] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[heif-uint16-graya-bytearray-bytearray--1] XFAIL [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-new-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-out-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-new--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-out--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-view--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-None] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray-5] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-new-bytearray--1] SKIPPED [ 53%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-out-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-new-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-out-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-view-bytearray-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-new-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-out-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-out--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-view--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-gray-bytearray-bytearray--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new-5] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-new--1] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-None] SKIPPED [ 54%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-new-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-out-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint8-graya-bytearray-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-new-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-out-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-new-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-view--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-out-bytearray--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-new--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-out--1] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-None] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view-5] SKIPPED [ 55%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-new-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-out-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-view-bytearray-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-new-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-out-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-gray-bytearray-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-new-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-new--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-out--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-view--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray-5] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-out-bytearray--1] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-None] SKIPPED [ 56%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-new--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-None] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-out--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-None] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-view--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-None] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray-5] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg2k-uint16-graya-bytearray-bytearray--1] SKIPPED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-new-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgb-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-new-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-out-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-new--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-out--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-None] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray-5] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-rgba-bytearray-bytearray--1] PASSED [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-out--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-view--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-new-bytearray--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-new--1] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-None] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out-5] XFAIL [ 57%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-out-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-view-bytearray-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-new--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-out--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-new-bytearray--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-new--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-out--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-out-bytearray--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-new--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-out--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-None] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray-5] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-gray-bytearray-bytearray--1] PASSED [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-new-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-out-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint8-graya-bytearray-bytearray--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-new--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-out--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view-5] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-view--1] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-None] XFAIL [ 58%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-new-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-out-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgb-bytearray-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-new-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-out-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-rgba-bytearray-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-new-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-out-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-new--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-out--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-view--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-view-bytearray-bytearray--1] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-None] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new-5] XFAIL [ 59%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-new-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-out-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-gray-bytearray-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-new-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-out-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-new--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-out--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-view--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-None] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray-5] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg8-uint16-graya-bytearray-bytearray--1] XFAIL [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-new-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-view-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-view--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-bytearray-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-bytearray-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-out-bytearray--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-new-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-new-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-new--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-out-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-out-5] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-out--1] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-view-None] SKIPPED [ 60%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-out-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-out-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-view-bytearray-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-new-bytearray--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-new-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-new-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-new--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-out-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-out-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-out--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-view-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-view-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-view--1] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-bytearray-None] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-bytearray-5] SKIPPED [ 61%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-out-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-gray-bytearray-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-new-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-out-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint8-graya-bytearray-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-new-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-out-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-out-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-out-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-out--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-view-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-view-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-view--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-bytearray-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-bytearray-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-new-bytearray--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-new-None] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-new-5] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-new--1] SKIPPED [ 62%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-out-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-new-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-out-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-view-bytearray-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-new-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-out-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-view--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-bytearray-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-bytearray-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-gray-bytearray-bytearray--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-new-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-new-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-new--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-out-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-out-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-out--1] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-view-None] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-view-5] SKIPPED [ 63%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpeg12-uint16-graya-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-new-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-out-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-new--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-out--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-view--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 64%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-view-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-gray-bytearray-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-new-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-out--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-view--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-out-bytearray--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-new--1] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out-None] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out-5] SKIPPED [ 65%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint8-graya-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-new-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-out-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-new-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-out-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-bytearray-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-bytearray-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-new-bytearray--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-new-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-new-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-new--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-out-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-out-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-out--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-view-None] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-view-5] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-view--1] SKIPPED [ 66%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-view-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-new-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-gray-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-new-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-out-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegls-uint16-graya-bytearray-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-new-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-new--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-out-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-out-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-out--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-view-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-view-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-view--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-bytearray-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-bytearray-5] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-new-bytearray--1] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new-None] SKIPPED [ 67%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-new-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-out-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-view-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-view-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-view--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-bytearray-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-bytearray-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-view-bytearray-bytearray--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-new-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-new-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-new--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-out-None] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-out-5] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-out--1] SKIPPED [ 68%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-gray-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint8-graya-bytearray-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-new-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-bytearray-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-out-bytearray--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-new-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-new-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-new--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-out-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-out-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-out--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-view-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-view-5] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-view--1] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 69%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-view-bytearray-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-new-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-out-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-out-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-out--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-view-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-view-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-view--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-bytearray-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-bytearray-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-out-bytearray--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-new-None] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-new-5] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-new--1] SKIPPED [ 70%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-gray-bytearray-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-new--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-new-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-new--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-out-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-new--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-out--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-view--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-None] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray-5] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxl-uint16-graya-bytearray-bytearray--1] SKIPPED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-out-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgb-bytearray-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-view-5] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-view--1] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-bytearray-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-bytearray-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-new-bytearray--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-new-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-new-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-new--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-out-None] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-out-5] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-out--1] PASSED [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view-None] XFAIL [ 71%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-rgba-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-view-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-new-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-out-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-new--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-out--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-bytearray-None] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-bytearray-5] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-gray-bytearray-bytearray--1] PASSED [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-new-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-new-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-new--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-out-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-out-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-out--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-view-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-view-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-view--1] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-bytearray-None] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-bytearray-5] XFAIL [ 72%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-new-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-out-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-new--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-out--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint8-graya-bytearray-bytearray--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgb-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-new-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-out-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-out--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-None] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view-5] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-view--1] XFAIL [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-rgba-bytearray-bytearray--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-new-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-new-5] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-new--1] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out-None] PASSED [ 73%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-new-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-out-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-view-bytearray-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-new-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-out-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-new--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-out--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-None] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray-5] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-gray-bytearray-bytearray--1] PASSED [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-new--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-out--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-new-bytearray--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-new--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-out--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-view--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-out-bytearray--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-new--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-out--1] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-None] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view-5] XFAIL [ 74%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-view--1] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-None] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray-5] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[jpegxr-uint16-graya-bytearray-bytearray--1] XFAIL [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-new-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-new--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-out--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-view--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray-5] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-out-bytearray--1] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-None] SKIPPED [ 75%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-out-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-out--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-view--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-new--1] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-None] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out-5] SKIPPED [ 76%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-new-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-out-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-new--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-out--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-None] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view-5] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-view--1] SKIPPED [ 77%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[ljpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-new-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-out-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-new--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-out--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-view--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-None] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new-5] SKIPPED [ 78%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-view-bytearray-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-new-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-view--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-out-bytearray--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-new--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-None] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out-5] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-out--1] SKIPPED [ 79%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-gray-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint8-graya-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-out-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-new-bytearray--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-new--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-out--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-view--1] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-None] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray-5] SKIPPED [ 80%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-view-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-out-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-gray-bytearray-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-out--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-view--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-new-bytearray--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-None] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new-5] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-new--1] SKIPPED [ 81%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-out-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-new--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-out--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-view--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-None] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray-5] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[mozjpeg-uint16-graya-bytearray-bytearray--1] SKIPPED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-new-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-out-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgb-bytearray-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-new-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-out-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-view--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-rgba-bytearray-bytearray--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-new--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-out--1] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-None] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view-5] PASSED [ 82%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-view-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-gray-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-new-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-out-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-new--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-out--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-view--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-None] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray-5] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint8-graya-bytearray-bytearray--1] PASSED [ 83%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgb-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-rgba-bytearray-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-new-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-out--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-view--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-out-bytearray--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new-5] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-new--1] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-None] PASSED [ 84%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-view-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-gray-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-new-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-out-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-new--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-out--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-view--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-None] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray-5] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[png-uint16-graya-bytearray-bytearray--1] PASSED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-new--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-out--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-view--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-new-bytearray--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-new--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-out--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-None] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view-5] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-view--1] SKIPPED [ 85%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-out-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-view-bytearray-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-new--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-out--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-view--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray-5] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-new-bytearray--1] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-None] SKIPPED [ 86%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-gray-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint8-graya-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-new-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-out-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-view--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-new--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-None] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out-5] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-out--1] SKIPPED [ 87%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-view-bytearray-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-new-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-out-bytearray--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-new--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-out--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view-5] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-view--1] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-None] SKIPPED [ 88%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-gray-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[qoi-uint16-graya-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgb-bytearray-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-new-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-new--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-out--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-view--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-out-bytearray--1] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-None] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new-5] SKIPPED [ 89%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-rgba-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-view-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-out-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-gray-bytearray-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-view--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-new-bytearray--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-new--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out-5] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-out--1] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-None] SKIPPED [ 90%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint8-graya-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgb-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-new-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-out-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-rgba-bytearray-bytearray--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-new--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-out--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-view--1] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-None] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray-5] SKIPPED [ 91%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-view-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-gray-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-new-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-out-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-new--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-out--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-view--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-None] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray-5] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[spng-uint16-graya-bytearray-bytearray--1] SKIPPED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-None] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new-5] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-new--1] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-None] PASSED [ 92%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgb-bytearray-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-rgba-bytearray-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-new-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-view--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-out-bytearray--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-new--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-out--1] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view-None] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view-5] PASSED [ 93%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-view--1] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-None] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray-5] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-view-bytearray-bytearray--1] PASSED [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-new-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-out-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-gray-bytearray-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-new-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-out-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint8-graya-bytearray-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-new-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-new-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-new-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-new--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-out-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-out-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-out--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-view-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-view-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-view--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-bytearray-None] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-bytearray-5] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-out-bytearray--1] XFAIL [ 94%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgb-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-new-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-out-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-rgba-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-new-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-out-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-view-bytearray-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-out--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-view-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-view-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-view--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-bytearray-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-bytearray-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-new-bytearray--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-new-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-new-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-new--1] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-out-None] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-out-5] XFAIL [ 95%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-out-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-gray-bytearray-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-new-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-out-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-new-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-new-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-new--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-out-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-out-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-out--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-view-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-view-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-view--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-bytearray-None] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-bytearray-5] XFAIL [ 96%] tests/test_imagecodecs.py::test_image_roundtrips[webp-uint16-graya-bytearray-bytearray--1] XFAIL [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-False-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[None-True-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-False-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-new-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-new-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-new-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-out-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-out-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-out-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-bytearray-new] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-bytearray-out] PASSED [ 96%] tests/test_imagecodecs.py::test_gif_roundtrips[0-True-bytearray-bytearray] PASSED [ 96%] tests/test_imagecodecs.py::test_png_rgba_palette PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.b1-False] XFAIL (not...) [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.b1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.bigendian.u2-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.bigtiff.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.c16-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.c8-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.contig.u1-True] PASSED [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.deflate.u1-False] XFAIL [ 96%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.deflate.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.depth.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.f8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.i8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u2-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.lzma.u2-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.none.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.none.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.b1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.b1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.f8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i2-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i4-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i8-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.i8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u2-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u4-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u8-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.one.u8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.packbits.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.separate.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.series.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.stack.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.f4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.none.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.none.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.tiled.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u2-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u4-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.u8-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u2-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[gray.zstd.u2-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.predict.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.separate.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.separate.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-False] FAILED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u2-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u2-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzma.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.lzma.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.packbits.u1-False] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.packbits.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.webp.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.webp.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.zstd.u1-False] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.zstd.u1-True] XFAIL [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgb.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.separate.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.separate.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.tiled.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_files[rgba.u1-True] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_index[10] PASSED [ 97%] tests/test_imagecodecs.py::test_tiff_index[1048576] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f4-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-False-f4->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f2-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f2->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f4-<] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[lzw-True-f4->] FAILED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u1-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u1->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-u2->] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f2-<] PASSED [ 97%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-False-f4->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u1->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-u2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u1->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-u2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-False-f4->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u1->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-u2->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1-<] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u1->] PASSED [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-u2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-False-f4->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1-<] XFAIL (webp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u1->] XFAIL (webp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-u2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[webp-True-f4->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1->] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u2-<] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-u2->] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f2-<] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f2->] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f4-<] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-False-f4->] XFAIL (tif...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u1-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u1->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u2-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-u2->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f2-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f2->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f4-<] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[jpeg-True-f4->] XFAIL (tiff...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u1->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-u2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f2-<] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f2->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-False-f4->] XFAIL (dty...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u1->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-u2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f2-<] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f2->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f4-<] XFAIL (lerc...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc-True-f4->] XFAIL (dtyp...) [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f4-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f2-<] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f2->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4->] XFAIL [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1-<] FAILED [ 98%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] FAILED [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2-<] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f2->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4-<] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-f4->] XFAIL [ 99%] tests/test_imagecodecs.py::test_tifffile_ljpeg[u1] SKIPPED (tifffile...) [ 99%] tests/test_imagecodecs.py::test_czifile SKIPPED (czifile missing) [ 99%] tests/test_imagecodecs.py::test_numcodecs_register PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[aec-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[aec-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[apng-gray] SKIPPED (apng n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[apng-rgb] SKIPPED (apng no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[avif-gray] XFAIL (AVIF doe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[avif-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitorder-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitorder-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-gray] SKIPPED (...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[bitshuffle-rgb] SKIPPED (b...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc2-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[blosc2-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[byteshuffle-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bz2-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[bz2-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[deflate-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[deflate-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[delta-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[delta-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[float24-gray] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[float24-rgb] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[floatpred-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[floatpred-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[gif-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[gif-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg12-rgb] SKIPPED (jpeg1...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpeg2k-rgb] SKIPPED (jpeg2...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegls-rgb] SKIPPED (jpegl...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-gray] SKIPPED (jpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxl-rgb] SKIPPED (jpegx...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[jpegxr-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-gray] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] FAILED [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-gray] SKIPPED (ljpeg...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[ljpeg-rgb] SKIPPED (ljpeg ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-gray] SKIPPED (lz4f n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lz4f-rgb] SKIPPED (lz4f no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-gray] SKIPPED (lzf not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzf-rgb] SKIPPED (lzf not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-gray] SKIPPED (lzfse...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzfse-rgb] SKIPPED (lzfse ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-gray] SKIPPED (lzham...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzham-rgb] SKIPPED (lzham ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzma-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[lzw-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[packbits-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-gray] SKIPPED (pglz n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[pglz-rgb] SKIPPED (pglz no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[png-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-gray] SKIPPED (qoi not...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[qoi-rgb] SKIPPED (qoi not ...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-gray] SKIPPED (rgbe n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rgbe-rgb] SKIPPED (rgbe no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[rcomp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[snappy-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-gray] SKIPPED (spng n...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[spng-rgb] SKIPPED (spng no...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-gray] XFAIL (TIFF enc...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[tiff-rgb] XFAIL (TIFF enco...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-gray] XFAIL (WebP doe...) [ 99%] tests/test_imagecodecs.py::test_numcodecs[webp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[xor-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zfp-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlib-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zlibng-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zopfli-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-gray] PASSED [ 99%] tests/test_imagecodecs.py::test_numcodecs[zstd-rgb] PASSED [ 99%] tests/test_imagecodecs.py::test_jpeg8_large SKIPPED (large file not ...) [100%] =================================== FAILURES =================================== _____________________________ test_packints_decode _____________________________ @pytest.mark.skipif(not imagecodecs.PACKINTS, reason='Packints missing') def test_packints_decode(): """Test PackInts decoder.""" decode = imagecodecs.packints_decode decoded = decode(b'', 'B', 1) assert len(decoded) == 0 decoded = decode(b'a', 'B', 1) assert tuple(decoded) == (0, 1, 1, 0, 0, 0, 0, 1) decoded = decode(b'ab', 'B', 2) assert tuple(decoded) == (1, 2, 0, 1, 1, 2, 0, 2) decoded = decode(b'abcd', 'B', 3) > assert tuple(decoded) == (3, 0, 2, 6, 1, 1, 4, 3, 3, 1) E AssertionError: assert (0, 0, 0, 0, 0, 0, ...) == (3, 0, 2, 6, 1, 1, ...) E E At index 0 diff: 0 != 3 E E Full diff: E ( E - 3, E 0,... E E ...Full output truncated (34 lines hidden), use '-vv' to show tests/test_imagecodecs.py:371: AssertionError _____________________ test_floatpred[False-be-encode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': > assert_array_equal(encode(data, axis=axis), encoded) tests/test_imagecodecs.py:668: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 8.85066e-39, 8.08164e-39, -7.32834e-15], [-6.90835e+36, 9.55147e-38, 9.5... 0. , 0. ], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 1.68812e+38 E Max relative difference: inf E x: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E y: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _____________________ test_floatpred[False-be-encode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) > assert_array_equal(out, encoded) tests/test_imagecodecs.py:677: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 8.85066e-39, 8.08164e-39, -7.32834e-15], [-6.90835e+36, 9.55147e-38, 9.5... 0. , 0. ], [ 0. , 0. , 0. ], [ 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 1.68812e+38 E Max relative difference: inf E x: array([[[ 8.850657e-39, 8.081641e-39, -7.328343e-15], E [-6.908352e+36, 9.551468e-38, 9.551468e-38], E [-2.695330e+35, 2.369428e-38, 2.369428e-38],... E y: array([[[ 0. , 0. , 0. ], E [ 0. , 0. , 0. ], E [ 0. , 0. , 0. ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _____________________ test_floatpred[False-be-decode-new] ______________________ planar = False, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': > assert_array_equal(decode(encoded, axis=axis), data) tests/test_imagecodecs.py:666: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 0.00000e+00, 1.23169e+20, 1.22881e+20], [ 4.82990e-34, 1.23169e+20, -6.6...0.99707, 0.99739, 0.99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E y: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _____________________ test_floatpred[False-be-decode-out] ______________________ planar = False, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) > assert_array_equal(out, data) tests/test_imagecodecs.py:673: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 0.00000e+00, 1.23169e+20, 1.22881e+20], [ 4.82990e-34, 1.23169e+20, -6.6...0.99707, 0.99739, 0.99772], [0.99804, 0.99837, 0.9987 ], [0.99902, 0.99935, 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[ 0.000000e+00, 1.231694e+20, 1.228812e+20], E [ 4.829898e-34, 1.231695e+20, -6.620069e-05], E [ 4.814852e-34, -2.329079e-07, 1.228812e+20],... E y: array([[[0. , 0.000326, 0.000652], E [0.000978, 0.001303, 0.001629], E [0.001955, 0.002281, 0.002607],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_floatpred[True-be-encode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': > assert_array_equal(encode(data, axis=axis), encoded) tests/test_imagecodecs.py:710: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 7.34690e-40, -2.70016e+36, -1.67457e+35, ..., 0.00000e+00, 0.00000e+00, ... 0. ], [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 2.12843e+38 E Max relative difference: inf E x: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E y: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_floatpred[True-be-encode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'encode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) > assert_array_equal(out, encoded) tests/test_imagecodecs.py:719: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 7.34690e-40, -2.70016e+36, -1.67457e+35, ..., 0.00000e+00, 0.00000e+00, ... 0. ], [ 0.5 , 0. , 0. , ..., 0. , 0. , 0. ]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 3069 / 3069 (100%) E Max absolute difference: 2.12843e+38 E Max relative difference: inf E x: array([[[ 7.346896e-40, -2.700157e+36, -1.674567e+35, ..., E 0.000000e+00, 0.000000e+00, 0.000000e+00], E [ 9.781876e-29, 1.401298e-45, 1.401298e-45, ...,... E y: array([[[ 0. , 0. , 0. , ..., 0. , 0. , E 0. ], E [ 0.007874, 0. , 0. , ..., 0. , 0. ,... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_floatpred[True-be-decode-new] ______________________ planar = True, endian = 'be', output = 'new', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': > assert_array_equal(decode(encoded, axis=axis), data) tests/test_imagecodecs.py:708: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 0.00000e+00, 4.82990e-34, 4.81485e-34, ..., 2.27877e-30, 9.21523e-30, ....96742, 0.96839, 0.96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E y: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_floatpred[True-be-decode-out] ______________________ planar = True, endian = 'be', output = 'out', codec = 'decode' @pytest.mark.skipif(not imagecodecs.FLOATPRED, reason='FloatPred missing') @pytest.mark.parametrize('output', ['new', 'out']) @pytest.mark.parametrize('codec', ['encode', 'decode']) @pytest.mark.parametrize('endian', ['le', 'be']) @pytest.mark.parametrize('planar', [False, True]) def test_floatpred(planar, endian, output, codec): """Test FloatPred codec.""" encode = imagecodecs.floatpred_encode decode = imagecodecs.floatpred_decode data = numpy.fromfile(datafiles('rgb.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rgb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(33, 31, 3) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) assert_array_equal(out, data) elif codec == 'encode': out = numpy.zeros_like(data) encode(data, axis=axis, out=out) assert_array_equal(out, encoded) else: axis = -1 data = numpy.ascontiguousarray(numpy.moveaxis(data, 2, 0)) if endian == 'le': encoded = numpy.fromfile( datafiles('rrggbb.floatpred_le.bin'), dtype='f4') encoded = numpy.fromfile( datafiles('rrggbb.floatpred_be.bin'), dtype='>f4' ) encoded = encoded.reshape(3, 33, 31) if output == 'new': if codec == 'decode': assert_array_equal(decode(encoded, axis=axis), data) elif codec == 'encode': assert_array_equal(encode(data, axis=axis), encoded) elif output == 'out': out = numpy.zeros_like(data) if codec == 'decode': decode(encoded, axis=axis, out=out) > assert_array_equal(out, data) tests/test_imagecodecs.py:715: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[ 0.00000e+00, 4.82990e-34, 4.81485e-34, ..., 2.27877e-30, 9.21523e-30, ....96742, 0.96839, 0.96937], [0.97035, 0.97133, 0.9723 , ..., 0.99772, 0.9987 , 0.99967]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[ 0.000000e+00, 4.829898e-34, 4.814852e-34, ..., E 2.278772e-30, 9.215235e-30, 9.315383e-30], E [ 3.766213e-29, 4.814853e-34, 4.845416e-34, ...,... E y: array([[[0. , 0.000978, 0.001955, ..., 0.02737 , 0.028348, E 0.029326], E [0.030303, 0.031281, 0.032258, ..., 0.057674, 0.058651,... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_float24[encode->-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x80\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x80\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x80\x00' E ? ^^ ^ E + b'\x00\x00\x00' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x7f\x00\x00' E E At index 0 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xff\x00\x00' E E At index 0 diff: b'\x00' != b'\xff' E E Full diff: E - b'\xff\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f36-f46--0.0] ______________________ f3 = (128, 0, 0), f4 = (128, 0, 0, 0), f3_expected = -0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode->-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'?\x00\x00' E E At index 0 diff: b'\x00' != b'?' E E Full diff: E - b'?\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\xbf\x00\x00' E E At index 0 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\xbf\x00\x00' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ___________________ test_float24[encode->-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xf6\x1e\x92' == b'@\x92 ' E E At index 0 diff: b'\xf6' != b'@' E E Full diff: E - b'@\x92 ' E + b'\xf6\x1e\x92' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0f\xa8\xa4' == b',\xa5\xa8' E E At index 0 diff: b'\x0f' != b',' E E Full diff: E - b',\xa5\xa8' E + b'\x0f\xa8\xa4' tests/test_imagecodecs.py:793: AssertionError ____________________ test_float24[encode->-f312-f412-1e-19] ____________________ f3 = (0, 118, 15), f4 = (31, 236, 30, 74), f3_expected = 1e-19, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'T=\xd8' == b'\x00v\x0f' E E At index 0 diff: b'T' != b'\x00' E E Full diff: E - b'\x00v\x0f' E + b'T=\xd8' tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x80\x00\x0e' == b'\x7f\x00\x00' E E At index 0 diff: b'\x80' != b'\x7f' E E Full diff: E - b'\x7f\x00\x00' E ? ^^ ^ E + b'\x80\x00\x0e' E ? ^^ ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f314-f414-1.0842022e-19] ________________ f3 = (0, 128, 0), f4 = (32, 0, 0, 0), f3_expected = 1.0842022e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f315-f415-1.0842021e-19] ________________ f3 = (0, 128, 0), f4 = (31, 255, 255, 255), f3_expected = 1.0842021e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xff\x80\x00' == b'\x00\x80\x00' E E At index 0 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\xff\x80\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f316-f416-5.421011e-20] _________________ f3 = (0, 64, 0), f4 = (31, 128, 0, 0), f3_expected = 5.421011e-20 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f317-f417-3.3087225e-24] ________________ f3 = (0, 0, 1), f4 = (24, 128, 0, 0), f3_expected = 3.3087225e-24 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode->-f318-f418-2.1684043e-19] ________________ f3 = (1, 0, 0), f4 = (32, 128, 0, 0), f3_expected = 2.1684043e-19 byteorder = '>', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f320-f420-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 128, 0, 0), f3_expected = 0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode->-f322-f422-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 64, 0, 0), f3_expected = 0.0, byteorder = '>' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x80\x00\x00' E E At index 0 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x80\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x7f' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x7f' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\xff' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\xff' E ? ^ ^^ E + b'\x00\x00\x00' E ? ^ ^^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x7f' E E At index 2 diff: b'\x00' != b'\x7f' E E Full diff: E - b'\x00\x00\x7f' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xff' E E At index 2 diff: b'\x00' != b'\xff' E E Full diff: E - b'\x00\x00\xff' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f36-f46--0.0] ______________________ f3 = (128, 0, 0), f4 = (128, 0, 0, 0), f3_expected = -0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[encode-<-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00?' E E At index 2 diff: b'\x00' != b'?' E E Full diff: E - b'\x00\x00?' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\xbf' E E At index 2 diff: b'\x00' != b'\xbf' E E Full diff: E - b'\x00\x00\xbf' E ? ^^ E + b'\x00\x00\x00' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ___________________ test_float24[encode-<-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x92\x1e\xf6' == b' \x92@' E E At index 0 diff: b'\x92' != b' ' E E Full diff: E - b' \x92@' E + b'\x92\x1e\xf6' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xa4\xa8\x0f' == b'\xa8\xa5,' E E At index 0 diff: b'\xa4' != b'\xa8' E E Full diff: E - b'\xa8\xa5,' E + b'\xa4\xa8\x0f' tests/test_imagecodecs.py:793: AssertionError ____________________ test_float24[encode-<-f312-f412-1e-19] ____________________ f3 = (0, 118, 15), f4 = (31, 236, 30, 74), f3_expected = 1e-19, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\xd8=T' == b'\x0fv\x00' E E At index 0 diff: b'\xd8' != b'\x0f' E E Full diff: E - b'\x0fv\x00' E + b'\xd8=T' tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x0e\x00\x80' == b'\x00\x00\x7f' E E At index 0 diff: b'\x0e' != b'\x00' E E Full diff: E - b'\x00\x00\x7f' E + b'\x0e\x00\x80' tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f314-f414-1.0842022e-19] ________________ f3 = (0, 128, 0), f4 = (32, 0, 0, 0), f3_expected = 1.0842022e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x80\x00' E E At index 1 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x80\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f315-f415-1.0842021e-19] ________________ f3 = (0, 128, 0), f4 = (31, 255, 255, 255), f3_expected = 1.0842021e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x80\xff' == b'\x00\x80\x00' E E At index 2 diff: b'\xff' != b'\x00' E E Full diff: E - b'\x00\x80\x00' E ? ^^ E + b'\x00\x80\xff' E ? ^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f316-f416-5.421011e-20] _________________ f3 = (0, 64, 0), f4 = (31, 128, 0, 0), f3_expected = 5.421011e-20 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00@\x00' E E At index 1 diff: b'\x00' != b'@' E E Full diff: E - b'\x00@\x00' E ? ^ E + b'\x00\x00\x00' E ? ^^^^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f317-f417-3.3087225e-24] ________________ f3 = (0, 0, 1), f4 = (24, 128, 0, 0), f3_expected = 3.3087225e-24 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x01\x00\x00' E E At index 0 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x01\x00\x00' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ________________ test_float24[encode-<-f318-f418-2.1684043e-19] ________________ f3 = (1, 0, 0), f4 = (32, 128, 0, 0), f3_expected = 2.1684043e-19 byteorder = '<', mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x01' E E At index 2 diff: b'\x00' != b'\x01' E E Full diff: E - b'\x00\x00\x01' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f320-f420-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 128, 0, 0), f3_expected = 0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError _____________________ test_float24[encode-<-f322-f422-0.0] _____________________ f3 = (128, 0, 0), f4 = (128, 64, 0, 0), f3_expected = 0.0, byteorder = '<' mode = 'encode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: assert abs(f3_decoded - f3_expected) < 4e-8 else: f4_array = numpy.frombuffer(f4_bytes, dtype='>f4').astype('=f4') f3_encoded = encode(f4_array, byteorder=byteorder) > assert f3_encoded == f3_bytes E AssertionError: assert b'\x00\x00\x00' == b'\x00\x00\x80' E E At index 2 diff: b'\x00' != b'\x80' E E Full diff: E - b'\x00\x00\x80' E ? ^ E + b'\x00\x00\x00' E ? ^ tests/test_imagecodecs.py:793: AssertionError ______________________ test_float24[decode->-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert False tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode->-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert False tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode->-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert False tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode->-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert 4.6096e-41 == inf tests/test_imagecodecs.py:787: AssertionError _____________________ test_float24[decode->-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert 4.6275e-41 == -inf tests/test_imagecodecs.py:787: AssertionError ______________________ test_float24[decode->-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 1.0 < 4e-08 E + where 1.0 = abs((4.6006e-41 - 1.0)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode->-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 1.0 < 4e-08 E + where 1.0 = abs((4.6185e-41 - -1.0)) tests/test_imagecodecs.py:789: AssertionError ___________________ test_float24[decode->-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '>', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 3.1416016 < 4e-08 E + where 3.1416016 = abs((1.495645e-39 - 3.1416016)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode->-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((1.9498617e-38 - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode->-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '>', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((1.9498617e-38 - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode->-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '>' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert 4.6096e-41 == inf tests/test_imagecodecs.py:787: AssertionError ______________________ test_float24[decode-<-f30-f40-nan] ______________________ f3 = (127, 128, 0), f4 = (127, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert False tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode-<-f31-f41-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 192, 0, 0), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert False tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode-<-f32-f42-nan] ______________________ f3 = (255, 128, 0), f4 = (255, 128, 0, 1), f3_expected = nan, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: > assert numpy.isnan([f3_decoded])[0] E assert False tests/test_imagecodecs.py:785: AssertionError ______________________ test_float24[decode-<-f33-f43-inf] ______________________ f3 = (127, 0, 0), f4 = (127, 128, 0, 0), f3_expected = inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert 4.6096e-41 == inf tests/test_imagecodecs.py:787: AssertionError _____________________ test_float24[decode-<-f34-f44--inf] ______________________ f3 = (255, 0, 0), f4 = (255, 128, 0, 0), f3_expected = -inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert 4.6275e-41 == -inf tests/test_imagecodecs.py:787: AssertionError ______________________ test_float24[decode-<-f37-f47-1.0] ______________________ f3 = (63, 0, 0), f4 = (63, 128, 0, 0), f3_expected = 1.0, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 1.0 < 4e-08 E + where 1.0 = abs((4.6006e-41 - 1.0)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode-<-f38-f48--1.0] ______________________ f3 = (191, 0, 0), f4 = (191, 128, 0, 0), f3_expected = -1.0, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 1.0 < 4e-08 E + where 1.0 = abs((4.6185e-41 - -1.0)) tests/test_imagecodecs.py:789: AssertionError ___________________ test_float24[decode-<-f39-f49-3.1416016] ___________________ f3 = (64, 146, 32), f4 = (64, 73, 15, 219), f3_expected = 3.1416016 byteorder = '<', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 3.1416016 < 4e-08 E + where 3.1416016 = abs((1.495645e-39 - 3.1416016)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode-<-f310-f410-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((1.9498617e-38 - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError ________________ test_float24[decode-<-f311-f411-3.1415839e-06] ________________ f3 = (44, 165, 168), f4 = (54, 82, 212, 39), f3_expected = 3.1415839e-06 byteorder = '<', mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): assert f3_decoded == f3_expected else: > assert abs(f3_decoded - f3_expected) < 4e-8 E assert 3.1415839e-06 < 4e-08 E + where 3.1415839e-06 = abs((1.9498617e-38 - 3.1415839e-06)) tests/test_imagecodecs.py:789: AssertionError _____________________ test_float24[decode-<-f313-f413-inf] _____________________ f3 = (127, 0, 0), f4 = (95, 128, 94, 154), f3_expected = inf, byteorder = '<' mode = 'decode' @pytest.mark.skipif(not imagecodecs.FLOAT24, reason='Float24 missing') @pytest.mark.parametrize( 'f3, f4, f3_expected', [ # +/-/signalling NaN ((0x7F, 0x80, 0x00), (0x7F, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0xC0, 0x00, 0x00), numpy.nan), ((0xFF, 0x80, 0x00), (0xFF, 0x80, 0x00, 0x01), numpy.nan), # +/- inf ((0x7F, 0x00, 0x00), (0x7F, 0x80, 0x00, 0x00), numpy.inf), ((0xFF, 0x00, 0x00), (0xFF, 0x80, 0x00, 0x00), -numpy.inf), # +/- zero ((0x00, 0x00, 0x00), (0x00, 0x00, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x00, 0x00, 0x00), -0.0), # +/- one ((0x3F, 0x00, 0x00), (0x3F, 0x80, 0x00, 0x00), 1.0), ((0xBF, 0x00, 0x00), (0xBF, 0x80, 0x00, 0x00), -1.0), # pi ((0x40, 0x92, 0x20), (0x40, 0x49, 0x0F, 0xDB), 3.1416016), # pi, no rounding # ((0x40, 0x92, 0x1F), (0x40, 0x49, 0x0F, 0xDB), 3.141571), # pi * 10**-6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # pi * 10**6 ((0x2C, 0xA5, 0xA8), (0x36, 0x52, 0xD4, 0x27), 3.1415839e-06), # subnormal 1e-19 ((0x00, 0x76, 0x0F), (0x1F, 0xEC, 0x1E, 0x4A), 1e-19), # overflow 1.85e19 ((0x7F, 0x00, 0x00), (0x5F, 0x80, 0x5E, 0x9A), numpy.inf), # subnormal shift 0 ((0x00, 0x80, 0x00), (0x20, 0x00, 0x00, 0x00), 1.0842022e-19), # encode normal to denormal with rounding ((0x00, 0x80, 0x00), (0x1F, 0xFF, 0xFF, 0xFF), 1.0842021e-19), # subnormal shift 1 ((0x00, 0x40, 0x00), (0x1F, 0x80, 0x00, 0x00), 5.421011e-20), # minimum positive subnormal, shift 15 ((0x00, 0x00, 0x01), (0x18, 0x80, 0x00, 0x00), 3.3087225e-24), # minimum positive normal ((0x01, 0x00, 0x00), (0x20, 0x80, 0x00, 0x00), 2.1684043e-19), # round minimum normal float32 to zero; 1.1754943508222875e-38 ((0x00, 0x00, 0x00), (0x00, 0x80, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x80, 0x00, 0x00), 0.0), # round largest denormal float32 to zero; 5.877471754111438e-39 ((0x00, 0x00, 0x00), (0x00, 0x40, 0x00, 0x00), 0.0), ((0x80, 0x00, 0x00), (0x80, 0x40, 0x00, 0x00), 0.0), ], ) @pytest.mark.parametrize('byteorder', ['>', '<']) @pytest.mark.parametrize('mode', ['encode', 'decode']) def test_float24(f3, f4, f3_expected, byteorder, mode): """Test float24 special numbers.""" decode = imagecodecs.float24_decode encode = imagecodecs.float24_encode f3_bytes = bytes(f3) f4_bytes = bytes(f4) if byteorder == '<': f3_bytes = f3_bytes[::-1] if mode == 'decode': f3_decoded = decode(f3_bytes, byteorder=byteorder)[0] if f3_expected is numpy.nan: assert numpy.isnan([f3_decoded])[0] elif f3_expected in (-numpy.inf, numpy.inf): > assert f3_decoded == f3_expected E assert 4.6096e-41 == inf tests/test_imagecodecs.py:787: AssertionError _______________________________ test_cms_format ________________________________ @pytest.mark.skipif(not imagecodecs.CMS, reason='cms missing') def test_cms_format(): """Test _cms_format function.""" from imagecodecs._cms import _cms_format, _cms_format_decode for args, (dtype, pixeltype, samples, planar, swap, swapfirst) in ( # data types (((1, 1), 'u1'), ('u1', 3, 1, False, False, False)), (((1, 1), 'u2'), ('u2', 3, 1, False, False, False)), (((1, 1), '>u1'), ('u1', 3, 1, False, False, False)), (((1, 1), '>u2'), ('>u2', 3, 1, False, False, False)), # (((1, 1), 'f4'), ('>f4', 3, 1, False, False, False)), (((1, 1), ' assert fmt.dtype == dtype E AssertionError: assert 'u2' == '>u2' E E - >u2 E ? - E + u2 tests/test_imagecodecs.py:1928: AssertionError __________________ test_zfp[float32-rgba-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-rgba-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-rgba-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-rgba-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-rgba-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-rgba-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0 \x07`\x00\x8e@\x10(\x01\xc6 8\x000\xc0\x80\x1c\x03\x0e@\xc0\x0c\x02\x0f7\x80\xfc> @\x80g\xce\xfaH\xf8< \x13`\xc6\x1b\xc8\xe1\xd8\x06\xc9\x80\xe7>q\xfc\xc0\x8fH\xf0\x10,\x07\xe5\xf0\x89\xd7\xf1w-\x80\xd9p`\x1b\x9c0\xdd\x8f=L\xcb\xe4`\xb6<\x01\x05\xa1Z\xe1 \xb0\x19\xb78\xcd\xbaT\x9c/\t\xb0\xc0\xcd:\xc7.\x81\xd7\xc19\xcf\xc83oA\xd7\xf8\x05\xcb\x19\xb4n\xc0\x1d\xb6\x04\x12\x17\xa0\xb3\xbf\xcd\x8f\xfc\x80\xaav\xbe\x1f\xff\xf1\xc4Q\x15\xea\xb0\x06\xfc9%\xb8_\xd3\xc0O\xd5\xb18 \x1c\'M\xd6\xe6@\xe0\xb0\x15\xb4~\x00\x0e\xd3\xfa\xf8\x90\xdb\x90@\x0c\x00\x00\x02\x80\x00P\xd0\x01\x00\x82\x12P\x01\x80\x06]\xd2`\x01\x00\x80\xec)\n\rf@\x01\xc0\r\x9e!V\xc8hP \xc0\xc9\x9e^\xd4\xbf\x8cL\x80\xd6p\xd2\xe0:\x89\xba\x17P\xca\xbe\xff\x14\xa3JcP\x06\xbf`)\xdb\xd7\xdb~\x87\xb6)\x08f/&\xecp\xecb\x05\xe6\xe1\x03\xee\xf2\xc3\xc3t\xd1@\xe1\x01\n;\x0f3\xb4Y\x0f`\t\x1f\xd3;\xfek\xc6\xb0O\xcc\x12\x03z\xc1r1l`7\xb9\x1b~#\x8fxxvZo@B\x19\x99\x7f%\x9e\xb66\xdd\x10\xc8M\xa8\x8e6\xd8\x9c\xa4\xa6\x7fQN\xfd\xd9\xa5\xfc\xbc.Pu\xc8\x0e\x17\x00\x00\x00\x00?\x02\x96_\xd05\xb4\xfe\xdc\x90\x81\x00\x00@\x00@\n\x00\x00`N\x00\x08\x00\xa0\x00\xact"\x06\x08\xd0\x01\xc0Cy\\\xc7\x...\x00\x00@\xa0\x18\x19\x01\xc0A\xa8(\x01\xc0\x00\x92\x02\x85\x11\xf6\\\x00\x04,\x02\xe1\xcd\x08\xf4\x1c\x00\x81E\xbd\t\xb0\x89\x82e\xf0\xf2\x7f\xe0n\xe8\x8ea\xbf\xfe\xa3\xda\xdd\x85\x88\xae\x83S\xee\x19\x14\x1c\xbd\xc7\xee\xe0co\x9a\xd2\xa9P\x02R\xd2\xd1\xa3_\x07\x1d\xfa8<%\x82\xf3\xb94\xf3\xcd\xbbY\xee\xff3\xe2\xa0l\xf6\xfd\xc5\xe1V:\xa9i\x19g\xf1\xf8E\xaa\xc6+\xd6~\xcbo%\x1f\x8f\x1f,\x91\x94\x95\xc5:s\xe7\xd2:.&\x1d_[\x1d\xe5s\xa8g\x1bo\x902\'\x91h\x9f\x07\xef\xc2\xd6\xc4^\xdc<\x1b6s\x1b1\xa7\x1b\x04O\xcd)\x86\x87\xa4\xb2\xdb`\x02\x05\x00\x00\xed\xbf\xad\xa2 \x05\x00\x03\x00\xc0\x10\x08\x18 )\x00\x19\x00\x90\x00\x0e\x08\xa7A\x00\t\x00\x80\n\x1bV\x18\x00\x02\x80\x04\x06\xb5\x99\xd0\x00\x02\x00\'\x1f\xfd\x8b\xda\x91@\x884\xd5\xd17\xa6Q\xc2\xd2H\xe2v\xbbE\xe1\xf3\x00\x9d\x19)bz\xed\xffX\xe7\xe2\x80#\x81\xf6\x89\xca\x7f\xdb\xe3\x84\x00\xfc\x1a\xaer\xe2\xbfX\xcd\xf8\x8f8@\xa8\xea9\x1f\xe6\xf9\xfe\x054\xcaf\xe5\xf7\xbf\xec\xb9-dd\xd3\x86\x903&\xb7M,\x00\xc1\xb2\x13j9\xc8\x13\x85\xce\xaa\xee\x05\xfb\xc5\xaf\x89>\xdaC\xc6({\x16\xcer\x94\xde = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-rgba-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00:\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\xe80\x07\n\xcf\xf7\x87\xaf@0Y\xa8\x1b)\x01\x05\xa01z`9\x12\x83\xce`\xc2f\x00\x14\x06@\t\nl\xc4\xf0\xbb\x804h\xb2\x16 \xa0\xc8\xdd\xbd4\xa9\xe1\x89\xa6F\xf0\x0b\xb4\xbc\xa7\x7f\xc9\x89-\xab\xb1\x07:\xdc\x16D\xb2L\xec\xab\xd8d\xc4$0G\x0f\x83\xf3\xfb\xe7\xc4L\x18\x90\x1a\x8ca\x08\xf5\xa7\x02n\xab!\xeby\xe0=\xcd\x1a\x86J\xc3R!#\x7f\xd4\xfc\x10Q\xdf3\xc3e\x8a\xcd\xcf\xa95\x92\xe0m\x84\xa9\xfd\xaa*P\xea\x9b\x98\xaaQ\xb6D%\xafEL\x90\xd0\xcb\xb5\xe1\x80\xca\x96?R\x17\x13D\x88\xe3\x9b|U\xa5\x93\x14\xc0\x16\xf1R\x80`a\xb1\xfeN4\xb0K\x03\x92k\xa3\xcc\x9d\xb3\xff\xb0\x84\xa4\x0c0\xf3(d\x01\x08\x800\xa8\x1a\x90\xa5\xa4\x00-B\x80a\x80\x16-\xb8h\xe0\x07B\x11\x00\x05\x005\x86\xebQW.\xc0J\xd81\xd6\x81\x8d\x10A\xa0\xe8l\x02EV]\x87C\x80\x99!3Bb\xf6\xec`V<\\\x95N;\x8a\x06f\x1d\x8a\xb6\xf1-\xdc#\xda\\\x03\xe4\x08\x18\xf5\xf2\x06\xb9\x12\xda/C\xf6pP\xa9\xf1@\xc7\xeeFB,\x12RbC\x90\xc1W&\xbf\xc2\xfcf4\x1c\xa6`\x0b-\xc5\xc1\xe1e\xff\x12dr?\x13\x83>D\x15!\xb1\x9d\xf2\xa0\x8135\x94\x1e\x92\x8b5\xdd\xe7\xdd\x96\xa4\x98\xaa\x9d\x9dO\xe0\xa42\xde\xb8%0\x15&\x85a\t\x902`\x0cv\xeb\x9be\x87\x9a\x81\xdazQs\x81\x0b?\xc6\x02\xfc\x8e\xc2:\x01\x80\x81P\x04\r\x061...:\r\x83Wi\xcbDx3\xe3LW\xeex\xe4v%t\xfd\xd4\x01\x86A\xc2\xcf\xf5R\x01\xe8\x00(^\x80@\x06\xd4\x00\x18\x04\x12\xf4\x00B\x81\x12\x8fV@:\x04\xb4"1\t\x07[\xfa\xe0\x00U\x19\x0f\x9e-\xa35\x100\n\x0e\x8e\xc7r>4hC\x18\xf8\x1e7=Q\x8a$\xc2=\x0eD\xa2\xb1\xf2\x92\x11$U\x17\xddDw\x00\x17\xe4\xdb\xfcN\x18\xed\xfb\xf1\xbc\x8bG\xc1zM9\xed\xb9]UHs\x1d\x1ak\xd3~\x8a\xe9^\xb6=\xb6B9\x8d\x02\xb6\x95\\\xf9.\xed\'\x86E\xf6\xb2t-\xee%z\x9e\xda\xe2\xd3\xfc\xa27[\t@\xfb\xf5}\x94C[\xbfF\xf1\xf8e1\xc8\x17K\n\xae0*\xe1*\xb0\xc9\xd3]\xe1\x96\xf1\xd5\x9c\xdc\rQI\xbcI\xfb\x97n<\xc1\x14\x85\x05N\xe8p\xe3\x08$\x01\x02\x80\x00K?\x03\x00Q \x03 \x95\x84\xf4\xc0\n\x06b\xaa@5\xd6\x05f\x88\x02 C8\x98\xd4\x14\xc5\xa0\x02`\x04\xb5[\x88\x86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xbeU0\xf7\xe6\xb1\xa9\\\xce\xadi\x81\xe6\x1c\xae\x96\xf0\x84\xbe\x92\xa2\xb8\x1d\x02\xa8\x0e\xb4lh\xfbTC\xc4 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-view-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-view-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-view-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-view-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-view-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-view-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00*\x05pfz\x00\x07e\xfd\x88\x00\x01\xf0\x10\x07`\x00\x8e@\x10(\x07\x80\xe3\x10\x1e\x01\x86\x181\x8f\x01\x878\x00\x06\x03\xb2\x18\xc0~\x1f\x18\x00\x00\x99\r\xef\xa4\x8f\x8e\x10\x19\x181\x87\xf28;\x86`\x98\x7f\xce\x9c\x7fp\x1b\xf2\xe3\x06\x0b\x01\xf98\x1aEx\x1f\xca`6886l\x086c\xcf\x07"\xf9g)\x8e\x00A\x08~\x88\x8f\xa8\x07m\xce\x01~\xb5\xff\xc9\xc3l0Wf\xb1\x1b\xa6t\xf0Nq\xc2\x0c\x08\xd6t\xfe\x01\x16\xde}\xeb\xb6\x07m\x81\x16\x85\xc8\xec)\xf2c\xff\x16\x02\x8d\xf4\x07\xfe\xfcqVeJ\xf7A\xbe\x0eI\x18\x1f\xf4\x1b\x97\xf5lN\x1a\x1f\t\xe47\xb8\x908l\rM\x14\x00\x03\xb4\xfe\xc8\x146\xa0\x10\x03\x00\x00\x00\xa0\x00\x02\x00@vn\x00\x04$\x04\x06\x83.\xe9 \x01\xe62\x0bB\x03Y\x90x\x00!>B\xad\x90\xc6\x0c\x089\xe6\xcf\xafjn\x1c\x991\xe98ip\x0eH\xdd\xcf\xa8e\xdf\x7f\xa8Y\xad\x83(\x03\xdf\xb0?\xe1\xf3\xb3\xbdC\xdb\x14\xbd;\x1fB\xf68v10\xf3x\x97\xf6ya\xe1\x99x\xb0\xd3\x03\x85\x1d\x87\x90\xc6<\xbb2\x04\x0f\xe9\x9d\xe75\x01\xd8\'\xe6\t\n\xb1`\x01\x18\xb60\x1b\xec\x8d\xb7~\xc7\xbc\xbc;\x06;\xa0L\r\xcc?\x92\xdeC\x0b\xd2\x8bd&\xd4T\x07|\x19\xd3S?\xa8\x84r\xf4=\xfd^\x97(1\xec\x17\x80\x00\x00\x00\x00\r\x99C@\x18\x1a\xda\x7fnH@\x01\x80\x01\x00(\x06\x00\x838\x000\x03\x80\x82\xb1\xd0\x88\x183 \x05\x00\...83\x9b\x8f\xa1\xef\xb35\x13\xc0\xf4\xef]\xb0\x04\x06\x0e\x93]L)0@\x1a/x\x8e\x00\tm?\xbb%\x91\x82\x00\x04\x1a\x00\x00@\xa0\x00\x18\x01@\x01\xa8(\x01\xc0\x08Y\x00\xc2\x88\xfb(0#\x00\x12Ap\xf6\x84z\xdd\x0e\x82 Q\x0fBlbq\x8c\xbe\x1eO\xfc\r\x04n\xd8o\xff\xc8\xf6\xb7\xb3\xea\xeb\xa4\xd4\xfb\x86E\xd2\xa3s\xf9\xf8X\xdb\xe6\xbb\x8dW\x02\xd4\xb4\xa4h\xb9\xedD|\xceO\x19`{\x14\r>\xf3.\xd6{xqy\xa8\x1b\x1d\xafq\xd9\xabM\xa8\x1a\x06Y\xfc!0\xea\xb3\xca\x95\x9f\xb2\x8a\xa4D\xe5\x87\xcb$e\x1f\xe4\xcd\x9c\xb9\xb4\x8e\x8b\'\x81W\xd4\x879L\xea\x08gY\xe6L\x89\xe4Z\xc1S\xfb\xf4\xb5\x91\x17\xb7\xb2\x9b\x8d\x9c\xc6\xcci\xc6\xe8)0H!\x81\xe9,\x00\x06\x00\x81@\x00;O\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-view-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-view-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00*\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x88x\x01\n\xcf\xf7\x87\xaf\xc0 \x18\x98\x03\x82\x03\x11\x00\x1f\x8e\x00pHn\t\x07\x81\x01\xf8\xb88\x01\xe0Cd\x07\x8e\x9cI\xb3\x07\xb0f\xce\x0f\x93\xfc`p\xc1\xc0\x08\x03~6\x0f\xb8\xe7w\xf0\xd8\x01\x9b$\xbc\xe9\xdd\xf0\x00\x06\x0c\x10\xf3%\x81\xcd\x88-\xbd\xc7mJ\x02\xc8(\x1c9\x1f\xcc\x17\xc3\xe80\xdb\x89G\x16\xc0<\x1a[\x1b\xf8\xafZhy\x08+\xc6K\x03\x93@#l}\x1c\x1c\xcfr4\x89\xc0\xe7\x9e]tx)&\xc5d\xa9<\xad\xb1Eo\x98\xea\xdd\xbf\x1b/\x12\xb6\x16L\xa8\x9c,\x88\xb4\x9d;\x12\x900\xc1Y\x0c\x90}\xe6\xaeP\xcaEV\x11\x8f\xb9p\x07\xb1d\x17\xf5\xd9E\xab3\xb2c\xfc2\xeb\xde\xee^{\xced\x01\x08\x800\xa8\x1a\xb3\xf4H@HI\x06a \x02,\x07\xb2\xe0\x02\x81\x84\x06\x06\x10\x00\x06\xafu\x98=\x82\x94P(<*\x8a\xbecL\xd00\x10E\x99\x820\x87\x18\x06F\xbc\x9c+\xf4\xc0\x84a\x8a\xf0\xc11f\x914\xd14\xe6\x86\xf8\xfd\xf4\xa7\tl\x92\x9a\xcd\xee\xeaS1\xdf\xa1\x1a\x91\xcd@\x1d\x1d\x7f\x80\x00\x9f\x8aR\xee~y|\xc9]\xa0Zd\xdc\t\xa6-\x94M\x01Ez?x\xde\xad\xea\xdc\x8e=\xde=\x91\xd9s\x07g\x0b-`\x11\xf7y`T\x8a\xe8xNu\xef\xb5B@\xae\xf444u.\t\xe7\xd6\x87\x1e\xba\xe7\x0b\xc2\xc7\xbc \xa6\x04\xf0\xa1Ks\xb8\xc8\xdf\x1d\xa2\xe5\x16\xab\x83G\xb8B\xcf\xf0l\'\x1f\xa8\xd9\xc2 \x00\x1b\x0...73\x1c%\x97\xab\xbe\xa2&Il\xd1g\xfa\xcb\x15*\x9fK\x10\x96@0DB\x0c\x00H\ru\xc1\x00\xa54\x00@\x80\xc0\x0b\x00\x08\xd9\xb0\x18\xf52\x81\x04\x02\x08B\x97\x83\xfbhA\x01\x84\x1a\x80!\x936\xc5\x10DF\x9b\xa2\xa0\xc5\xc2q\x98\x843\x88\xaf)\x99\x94ttZ\x13\xc7\xbaI\x10\x93E0\xd9\x8e\xd5\xb5B\xaa\x89\x13y\xcd\xda\xdd\xf8l\x1bwD8H\xb2\x91\xd9\x00E\x9a\xaca\'\x0b\x07\xa2\xd1\xc60\xf0\x9fU\xa6\xe3\xbc\xe5 \x94g\xd7\xach\x8awJs%\xbf\xd0\xd5\xa5\x87B}7\xc8\xe4\x087J\xfd\xfd\xb4\xba\x96g\x11k\x12F{_\xf0B\x83^\xe7\xf1&?f\xa6?y\x9a\xfbx\xd0\x12\xe0V\xf9\xff\xe7_V@\xde\xde\xc9\xa4\x82\x14M\x8a\xd1 \x08\x94\x00\x02Y\xfft\x00\xc0\x01H@\x00\x08D\x00 \x02\x80\x0c\xe2P\x00h\x00 \x02\x81\x98\x80\x90\x1a4\x00\x18\x04\xc1\xcatF\x9cB\x02lC`\x8d\x105z\x83\x894\x00\x1c`\xae\x16\x10\xa2\x06\x00!\x14Y\x9e$\x08\x0eA\x04\x8fQ\xe10x\x15\x02\x9bT\xd5\x1fpHv\xce!XW\x8d\x844\xfc\x02\x1aF\x1d8\xc7\x08\x92.\xad\xfeu%\xe7\x16\x14ae\x176\x12ST\x87 = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-gray-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-gray-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-gray-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-gray-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-gray-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-gray-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xc7Ke\xfd\x88\x00\x01\xf0\x01\xc6\x01\x868\x07\x87\x00\x00\xe3H\x04\x1a@8\x12\x00\x80b\t\x80f\x18\xe9\x00\x00B\x10\x001 \x00\x00\x08\x08\x00\x08\x06\x01\x8e0\x0cq\x01\x00\x02\x01\x80HB\x00\x00 \x04\x00@\x80\x00\x08\x92\x01\xc0\x04\x80\x10\x00\x01\x01\x12@\x00\x80\x18\xe0\x02@\x00\x03\x00\xc0\x8d \x00@\x08\x00\x84 \x10\x01\x80\x02\x08\t\x00\x00 \x00\x02 \x00q\x00 \xd4\x04\x80\x00\x00\x90\x08 \x10\n \xe3\x8ab\xb6_\x84\xa6\x01\x82 \x16\x00A8\x80\x81!\x00H\x06\x10\r"\x00L\x03\x01\nB$\x03H\x04\x10\x18\x00\x80\x08\x04\x84\x08\x00"\x00\x00\x88\x00\x00\x90\x85\x03\x04\x00\x8c\x11\x00 \x00\x00\x84CF\x80\x02\x00\x00\x02\x00\x00\x00\x08\x80\x00\xd0\x04\x00\x00\x12\x00!\x00@\x18\x80\x00\x8a\x00@\x04\x00\x08\x82P"\x00@\x08\x00\x04\x00\x18\x01\x00\x00\x00\x08\x00\x00\x0c\x03j\xad\x97\xf4\x01\x00\x12\x00\xf0\x841\x00\xc0\x0c!\x18\x8a\x002\x10\x00\x01(\x90\r#\t@\x00\x04(T \x12\x01\x84"\xa1\x00@\x91\x02\x80\x00\x00\x04\x88\x00\x11\x00!\xa8\x08\x00\x08$\x00\x00\x04\x044\x00\x00\x84\x00\x80@\x06\x81\x08\x80F(\x80\x10\x01\x00\x92\x01"\x08\xc3\x10\x12\x01!\x12\x00\x84i\x18\xea\x00@$\x08\x00\x00\x80\x02\x10\x00H\x14\x01\x00\x02\x00$\x03\xa8\xb2\xfe\xa0\x00\x02B\x00\x0c!\x05@\x1...x0c\x00\x000\x80\x00\xa4\x02(\x00\x00\x00\x05\x00\x024\x88D\x01\x00\x10\x04\x00\x08@\x11\x00 $\x12\x80\x10\x00\x08\x921\x04\x08\x05@\x02\x01!\x1aD\x04)\x10\xea\x00\x00 #\x00\x90\x89#\x04\x00\x00\x04\x00 \x10\x10\xa0 \x80\x00\x86\xa0$\x00\x020\x04Q\x92\x11\x94\x04\x80\x08F\x01!\x08\x04\x00\x00\x80\x00\x08\x00\x00\x02@\x80\x00\x10\x00\x1e2\x80\xd4[O\xea\x02\x8a\xa3\x00 \x8e\x00\x06\xa0\x0c\x02\x0cL\x030\xc6\x81$\x00\x00\x00\x10\x19\x00\x90H\x00\x00I\x00\xa2\x00\x00\xa8\x00\x00\x90\x84\x01\x18@\x0cU\x01 \x10\x10$\x02B\x91\x06\x80\x04\x00\x02 \x00\x08\x920\xd4\x00\x80\x00\x00\x00!\x02D2\x80\x10\x8a\x02\x00$\x01\x00\x01\x10\x01\x01@\x08\x00\x84\x08\x08\x01\x80`\x88\x08\x00\x80\t\x02@\x00\x88\x05\x01\x00\x12\x00\x80HF\x90\x0c \xfa\x00\x90\x01\x00\xd2\x11@\x1c\x00\x05@\x00\xc9\x16\xd3\x84%\x00\xa1\x08\xca\x00\xc5\x94\x030\x85\x01\x15\x004\x08\x02\x030\x08\x08\x02!\x80\x00\x01\x00H\x00\x80I\x00\x11$`\x88\x08\x00\x10$\x00\x02\x00\x8ca\x01 @\x04\x80HD\x11\x0c\x80@\x08\x00\x00\x00\x00@ !@C\x00\x00\x00\x00\x1a\x04\x00H\x00\x8a\x02\x00\x00\x00\x00\x10\x89\x01\r@@`\x01 \x12\x01\x04b\x80\x11\x08 \x00@\x14\x04\x08\xc20\x80\x00\x00@B\x00\x01\x18\x06\x12\x00\x90\t\x00\x00\x00\x00\x00\x00\x00\x02') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-gray-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-gray-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf01`\xc7J\xcf\xf7\x87\xaf\x01\xc7f8\xe8\x1c\x01\xaeF \x98cH\x07\x11\xd2\x18\x08\x024\x8cu \x1a`\x11\x00P1\x94\x84\x00\x02\x00\x00\x00\x80 \x00*\x00\x11\x80! \x00\x80\x08@`\x00\x00\x10\x8c4 a\x08\x08\x00\x80\x08"\x11\x10\x085\x01\x00\x10\x11\x80H@\x81\x8e\x00$\x02\x00\x10\t\x08\xd0\x11\xd4\x00\x80\x00\x00\x01!\x08\x02\x12\x80\x18J\x02\x00 "H\x86\x80#\x1d@\x08\x04\x84\t\x00\x01\x80\x00\x08\x00\x00\x90\x00\x00@\x04\x80q\x01 \x10\x07\x1e>\xacV\x7f\xa0\x02\x020\x84a\x08b\x0c \x12\x04\x18\x98\x07\x00b\x84\x01\x18\xc2\x00\x04\x88U\x15@\x00\x02\x08@P\x0c!\x00FR\x00\x80\r#\xc0\x00\x04!\x10J@ P\x00\x00!\x08\x020\x80\x10@\x00\x00\x00"\x00D\r\x02\x11@\x08\x00\x84A\x00\x10\xa0\x02\x88\x08\x00\x00\x00\x02\x02 \x8cT\x00\x00D\x04\x00@\x00\x00\x0c\x80\x04 \x80\x80\t\x08\xd0\x01\x03H\x00\x10\x12\x00!\x00\x04\x80\x01\x00\xe2\x02\x00$\x00\x00\x00\x00\x00\x10\x00\x00T\x00\xe0(\x08U\x9f\xe0\x88E\xc20\x04\x03\x021i\x18B\x18\xc21T`\n\x002\x01\x80!\x89\x04\x89!\x1c\x00\x04\x84a\x08\x00\x10\x01\x04!!\x00\x10\x11\x06\xa0\x02@$\x88q\x08\x08\xc20\xd0\x80\x00B\x04\x00\x02\x14\x8cA\x01\x80\x90\x04\x00@\x04\x10\x82\x00\x06\x12\x80\x00\x08\x08\x820 H\x07P\x10\...\t\x00\x90\x85"\x02\x14\x0ct\x00 \x00\x11\x00@\x02\x80\x06\xa0 \x02\x80\x00\x08\x00\x80\x11T\x04A@\x12\x01!\x08\x068!\x18*\x00@$\x01\x08\x10\x05 \x1c\x00\x08\x04\x80\x00\x10\x10$\x02\xa0\x00\x00 \x04\x00@4\x0c%\x001\x94\x00\x00\x08B\x91\x02\x18@\x18\x00\x80\x01\x08\xd2 \x00H\x07\x00\x12\x00 \x85\xacRQg\xfa\x00\x00\x04p\x8c\x01\x00a\x86\n\x19L \x00A\x88R!\x02\x00\x10\x04\x02\x00\x80\x00#\t\x00\x00\x88!\x11L`\x10j\x02\x00\x02\x01\x04\x80\x89\x02\x19@H\x00\x00 \x02\x00\xa0\x01(\x00\x00\xa0\x04\x02B \x84Q\x011P\x04\x00HD\x01\x8a\n\x00(\x80\x90\x08\x08\x00$\x02\x00GP\x02\x01\x00\x08\x04\x00)\x10\xe2\x02\x00\x88\t\x00\x80\x89"\x01@\x08e\x01 \x00\x11\x80#\x02\x80\x02 \x04\x02\x00\x10\t\x00\x12\x01D\x04\x80H\x08!\tLY\xfe\x00\x00\x08"\x00@\x00\xc6\x00\x8f\x08\x80 \x10\x03\x08\x82P0\x0c\x02\x04\x02\x10\x00Q\n@\x04\x01\x00\x81P\x00\x01\x02\x04@\x00\x00`\x00\x00"@\x85P\x18\x00\x00H\x04\x84i\x10H\x00\x00\x08\t\x00\x90\x81!\x1d@\x80@\x00\x00\x12\x01 \x00\x06\x11\x08\x00 \x00\x020\x01\x00\xc0 P\x04\x00\x00\x10\x00\x01\x08\x04*\x00\x00j\x00@\x00 \x08BP\x02\x05\x00\x00\x04\x00@\x18\x10\x80A\x80\x01\x00\x90\r\x02@\x00\x80Q\x01\x00\x02\x00\x00\x00\x00\x80\x08\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-new-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-new-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-new-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-new-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-new-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-new-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-new-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-new-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-new-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-new-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-out-mode0-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-out-mode0-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float32-line-out-out-mode1-None] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float32-line-out-out-mode1-omp] ___________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-out-bytearray-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-out-bytearray-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-out-bytearray-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-out-bytearray-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-new-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-new-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-new-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-new-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-out-mode0-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-out-mode0-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float32-line-bytearray-out-mode1-None] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float32-line-bytearray-out-mode1-omp] ________________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-line-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-line-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\x11Ka\xfd\x88\x00\x00\x00\x00\x00D\x01\x04@\x180\x04\x00\x04@\x00\x04\x00\x04\x00@\x10D\x00\x04@\x10\x00D\x00\x00@\x10D\x00\x01\x04@\x10\x00\x00\x00\x00\x00\x00D\x00\x00@\x00\x04"\x00\xc0\x10\x1a+a\xfd\x80 \x08\x08\x00\x00\x80\x08\x00\x02\x00\x00 \x08 \x00\x00\x02 \x08 \x00\x02 \x00\x00*\x00\x02\x00\x08"\x00\x00\x80\x80\x00\x08\x00\x02\x01\x04-U\xb2\xfe\xa0\x00\x80\x80\x00\n\x00\x82 \x08\x00*\x00\x82\xa0\x08\n\x00\x00\x82\x80\x08(\x00\x02\x80\x00\x08 \x00\x00 \x00\x08(\x00\x00 \x08(\x00\x82U[/\xe8\x00\x82\x80\x00\x00\x80\xa0\x0c\x04\x04A\xaa \x08\x02\x00\x02\x00\x08 *\x00\x00 \x08\x02\x00\x80\x82\x00\x08"\x00\x82\xa0\x08\x00(\x00\x82\xa0\x08\x00\x00J\x85[/\xea\x00\x00 \x05\x00\x00\x04\x01\x01@\x00\x10D\x01\x04\x00\x00D\x00\x01\x00@\x10T\x01\x01@\x00\x00D\x00\x01@\x10T\x04\x00\x00@\x00\x00\x01\x04\xf9@\x10\x14\x00\x05@\x00\x10\x00\n\x80 \xd5\x83e\x00\x00\x00\x10T\x01\x01@\x00\x10P\x00\x04@\x00\x14T\x00\x05@\x10\x04\x00\x05\x05\x00\x10\x10\x01\x05\x00\x00\x10\x00\x01\x04\x00\x10P\x01\x14\x80\xb6\x9f\xd4\x01\x01@\x00P\x04\x11\x00`\x080\x00\x10\x00A\x10\x00\x00\x00\x00AP\x04\x11\x00@\x00\x00\x04\x14\x00A\x10\x00\x14\x11\x00\x01\x00\x00\x05\x00\x01\x04-\x97\xf5\x00\x01\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x01\x00@@\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float32-line-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float32-line-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float32'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\n\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x885\x11j\xcf\xf7\x87\xaf\x15\x00\x00\x10\x04\x00\x80 @\x10\x04\x04\x00AP\x04\x00\x00\x00\x01P\x04\x10\x00\x00@\x10\x00\x10\x00A\x10\x10\x00\x00\x00@\x00\x04\x10\x00\x00\x01\x10\x00\x00\x00@\x00\x00\x00\x00\x00\x00\x00\x00\x02\x00\x82\x11B\xb3\xfc\x00\x04\x00\x00\x14\x01\x05@\x18\x00\x14\x01\x01@\x00T\x01\x01\x04@\x00\x10\x00\x01@@\x10D\x01\x00\x00\x00\x10@\x01\x00\x00\x00\x04\x00\x05\x04@\x00D\x01\x05\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00 \xd5\x82\xac\xff\x00AP\x00\x11\x00`\x08\n\x04\x01\x00\x00@\x04\x01\x00\x00A@\x04\x04\x00A@\x00\x00\x10\x00\x01P\x04\x01\x00\x00AP\x00\x15\x00A\x00\x00\x00\x00\x00\x00\x00\x00\x04\n\xab?\xc0\x00\x00\x00\x80 \x08\x02\x05A@T\x88\x00\x08\x80\x00\xa0\x00\x08\x02\x00\x00\xa8\x02\x02\x00 \x08\x02\n\x00\x00\xa8\x00\x00\n\x80\x00\xa8\x00\x02\x00\x00\x00\x88\x00\x00\x00 \xa0\xb0Y\xfe\x00\x00\x00\x00\x00\x82 \x0c\x05\x00A*\xa8\x00\n\x00\x00 \x08*\x00\x00\x02\xa0\x00 \x00\x02\xa0 \x08\x08\x00\x80\xa0\x00(\x02\x00\x02 \x08\x00\x00\x82\x00\x00\x08\n\x00\x82\x80\x08\x00\x00\x00\x00\x00\x00"\x00\x00\x02\x82\xa05\x06~\x80\x00\x00P\x04\x02\x02\x00\x00@\x00\x15\x00A\x00\x04\x00\x10\x00AP\x00\x05\x00\x00@\x00\x04\x14\x00@P\x04\x04\x04\x00A\x00\x04\x04\x00\x00\x01\x10\x00\x00\x00A@\x00\xb3\xfc\x00\x00\x00\x00\x00\x08\x80 \xa8"\t\x14E@P\x00\x01\x00\x01P\x04\x00\x10\x00\x01\x00\x00\x00\x00\x00@P\x04\x15\x00\x01P\x10\x04\x15\x00A\x10\x04\x00\x11\x00\x00\x00\x04\x05\x00\x00\x06 \xb3\xfc\x00\x00\x00\x00\x80\x00\xa8\x00\x00\x80 \x04 \x00\x02\x00 \x00\x00\n\x02\x80 \x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x00\x02\x80\x00\x00\x00\x02\x00\x00\x00\x08\x02\x08\x80\x00\xa8\x00\x00\x08\x80\x00\x88\x02\n\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-rgba-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-rgba-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-rgba-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-rgba-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-rgba-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00;\x05pfz\x00v\xcf\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80\x1cb\x03\x80\x03\x0c\x08\x02\xc00\xe4\x0c\x00\xc0 \xf0x\x0f\xc3\xe2\x04\x08\x06q\xef\xa4\x8f\x83\xc2\x016\x03a\xbc\x8e\x1d\x80l\x98\x0cs\xe7\x1f\xcc\x08\xf4\x8f\x0c\x02\xc0~_\x08\x9d\x7f\x1er\xd8\r\x97\x06\x01\xb9\xc1\r\xd8\xf3\xd4\xcc\xbeF\x07c\xc0\x10Z\x15\xae\x12\x03\x01\x9bs\x8c\xdb\xa5I\xcb\xf0\x9b\x0c\x0c\xd3\xacr\xeb\x1d|\x13\x9c\xfc\x836\xf2\x1d\x7f\x80\\\xb1\x9bF\xe8\x01\xdb`E!z\x0b4\xfc\xc0\xff\xdc\x8a\xa7k\xec\xfd\xe7\x1cP\xd2^\xab\x1bl\xdb\x9eR\xfe\xbd\xbe1\x82\x83\x9d\x95\xf5\xae\xb2/\xac\x18\xe0\x11\xe4\x91\x13\x17\xdaCF\xa8{6\xaf\xd2\x14\xde\xbc\x8f\x1d:\x91\x94q*~\x0c^\x90\xe60\xb3\xcb\xbf\xe5\x98j\x01\x9d3\xcbn\x03$\t\x19\xeaM\xfd\xad\xcd\xd9(\xf7Y\x93\xa2\xcb{\xe6P\x13=\xc2\xf2\xdc\x02\x80\x00\xfc\xdeTg\x05\x8a\x82\x00\xff\xba\xf0\x01\xc0\x00\x00\x00\xcc\x8c}\x80E\x02\x00\x00^6\x00\x80\x04\x02\x00\x00\x82 `\xa0\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x10`\x00\x04\x02\x00\x00l0\x00\x80\x04\x02\x00\x00\x04 `\x80\x04\x02\x00\x00l0`\x80\x00\x00\x00\x00h\x00`\x00\x04\x02\x00\x00\xec \x00\x80\x04\x02\x00\x00\x840`\x80\x04\x02\x00\x00, `\x80\x00\x00\x00\x00 \x10`\x00\x04\x00\x00\x00@`\x00@\x00\x00\x00\x00\xe8` @\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-rgba-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00;\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0A\x808V\x7f\xf7\x87\xaf\x01\x82\xcd@\xd9H\x08/\x01\x8b\xd3\x01\xc8\x94\x1er\x06\x130\x00\xa02\x00MSf\'\x85\xdc\x01\xa3C\x90\xb1\x05\x06F\xed\xe9\xa0O\x0cM27\x80]\xa5\xe5;\xfeLIm]\x8d9\xd6\xe0\xb2%\x92ge^\xc3&!!\x828x\x1f\x9f\xdf>"`\xc4\x85\xd4c\x08G\xad8\x13tY\x0f[\xcf\x01\xeeh\xd02V\x1a\x91\t\x1b\xfe\xa5\xe0\x82\x8e\xf9\x9e\x1b,Tn}I\xac\x97\x03l\'O\xedQR\x87\x14\xdc\xc6R\x89\xb2!-:*e\x86\x8a]\xaf\x0cFT\xb5\x9e\x9e\xbb\x9e$\x07\x18\xd4\x86\xb3\x7f\x94\xb6L\xb3\x81\xe1\x9dH\xc1\xbf\xbf\x95I\x01d\x13\xca\xd9\xd1\xc9J\xea^W\xf3\x92\x0cl.\x8c\x00\xe7\x88\x850v>\xa6\xde\xcf\xca\xd82\x13\xd4i@(z\x00#\xaa\x05iv\xa8\xc3\x13\x9d}\x94\xf8\xb7\t\x84\xdd\x80\x01\x8bkPF\x86\x07\xcf\xeb\x1f|\x00X?\xdf{\x9fz\x11k~\xd9a\x1d}\x80\x8b^\xc5\x02\x9e0\x13\xe0\xed\xd0\n\xc0At\x16\xfaw\xc0\xa4\x9a!-\x1c\xa4\x1fdy\xa1f\xe4y\xbf\x85O\x05\xfe\x9e/\x9f\xe0m\xd1\xca\xc0Gt\x18\xfa\xf7\xc0\xa4\x9a&-\x1e\xa4\x1f\xe4y\xa1g\xe4{\xbf\x93\xcf\x05\xfe\x9f/\x9d\xe4\x921\xda\xe1F\xf4\x02\xff\xe7\xcb\xb4\xbf!\x8f\x80A\xef_IF@\xa2\x9ae\x02\x90\x9c\xe7Gv\xed\xbad\x8b\xbc\xdb\xfe\rs\x04\x8e>\xcf`\xd9\x90h\x85\x97q\x96\'\x9eB\x8d\x1a\x0c\x8b:\x1bf\xe9\x1a;\xeb^M\x9cC\x...86\x0b\x90\x19h \xa4\xf5\xd3;\x88\xd8$adC\xa8KU\x1c\x10\xc7\x84\x00\xe4\xfa\x9a!\x82$&\xc2\x00\xa6v\xe8@\x17\xaax\xb5V]\xd3\xe8u\xbc6\xba\xd9vs\x9a\xd4\xbfT\xe4\xabO\xfa\xdaT\xa3\xf0E\x90\xb4\xf4\xf5\xa0vWU\x99\x03q\x14\xb5\xd9\xbe\xccm\x07_\x93\xaf\xe5\xe5y\xc4e\xd4\x14\xb8\xb2\x0e(E\xdf\xcf}.P\x16\xbb\x83n\xbeV\xb2\xf6M\xb6U0\xf7\xe6\xb1\xa9\\\xc6\xadi\x81\xe6\x1c\xae\x96\xf8\x84\xab\x92\x82\xa0?\x96\xa0\x0e\xa1l\xca\xe1~\xd6\x84\xb8t\xc8\xe3\x99\x9d\xc2\xb0\xf3\xad\x14\x05H\x94\x7fH:0 \xe7\xceEs\x908\xef\xeb\x04<\xb4\xb0}\xff\xf21\xaf\x1e\xc1%\x1e2\x11\xd58q\x0f8\xcc\xe2\xe4\x9c"\x1c\x7f:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x1cw:\x13b\xff\x04?6r"\xd3\xa0\x9f\x98\x1f*u\x1a\xc3\xc2{\x9c=>\x078\xd0\xe2\xe4\x9c"\x0cw:\x13b\xff\x04?&2"\xd3\xa0\x9f\x98\x9a:5\x1e\x83\xc2s\x1c\xfagBf\x90\xe2\xf1\x1aGP\x17VS{\xf9\x8a\n7\xf2^\xb4\xb9\xf7T\xffR\x97\'B\xaa_\x93\x10\xdf\xc0\xdd\x04\x9f\x00\x00\x00\x00\x00\x01C\xb2') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-view-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-view-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-view-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-view-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-view-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-view-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00+\x05pfz\x00s\x8f\xfd\x88\x00\x01\xf0\x00v\x00\x08\xe4\x01\x02\x80x\x0e1\x01\xe0\x18a\x81\x18\xf0\x18s\x80\x00`0!\x8c\x07\xe1\xf1\x80\x00\x03\x90\xde\xfaH\xf8\xe1\x01\x9b\x83\x18\x7f#\x83\xb8f\t\x87\xfc\xe9\xc7\xf7\x01\xbf!0`\xb0\x1f\x93\x81\xa4Y\x81\xfc\xa6\x03c\x83\x83n\xc0\x83f<\xf0r/\x97r\x98\xe0\x04\x10\x87\xe8\x86\xfa\x80v\xdc\xe0\x17\xebV\xfc\x9c6\xc3\x05vk\x18\xbagO\x04\xe7\x1c \xcf\x8dgO\xe0\x11m\xe7\xd1\xbb`v\xd8\x11h\\\x80\xc6\x9f ?\xf0`(\xde\xcc\x7fi\xc7\x12v\x14\xae\xcb\x9b&\xe7\x96\xfe/o\x85\xe0\xb0\xe7d\\k\xae\x88k\x168\x05Y%@\x17\x0f\x19\xc7\xe3\x0ec\xe2\xe4\x80y\xe4\xe3\x15\x0353\x03i\xc3a\xd7R\xe9\x00\x03\xa4\x7f\xe8\x0c$x\x10\x03\x00\x00\x00\xa0\x00\x14\x00@vn\x00\x04$\xa0\x06\x83.\xe9 \x01\xe6\x02\x0bB\x03Y\x90x\x00\x04>B\xad\x90\xc6\x0c\x082\xe6\xcf\xafjn\x1c\x99!\xe98ip\x0eH\xdd9\xa8e\xdf\x7f\xa8Y\xad1(\x03\xdf\xb0?\xe1\xf3\xcf\xbdC\xdb\x14\xbd;\x1f\x83\xf68v10\xf3x\xb3\xf6ya\xe1\x99x\xb0B\x03\x85\x1d\x87\x10\xc6<\x972\x04\x0f\xe9\x1d\xe75\xd3\xd8\'\xe6\t\x82\xb1`\xbb\x18\x961\x1bd\x8d\xb7\x01\xc7\x9c\xb5?\xab;\xa0\x01D\xab6\x86sC\x8bvv\x8b\t\xc0\xe6\xe1\x8be\xb9\xe8\xd0\x17\'k\x8a)\xd0\xfb\xc7k\xffR\x84\x00\xfd\xa8~\xbcsR\x16\x8a\xdf\xe9\x8f`?...d\x8d*7?\x9f\x85\x8d\xbe\x0b\xb8\xd5p-KJF\xbb\x9e\xd4G\xcc\xe4\xf1\x96\x17\xb1@\xd3\xef2\xedg\xc7\x87\x17\x9a\x81\xb1\xda\xf7-\x9a\xb4Z\x81\xa0e\x9fR\x13\x0e+<\xa9Y\xfb\xb8\xaaD\xceX|\xb2F\xa1\xbeLX\xcb\x9bH\xe8\xa6#\x85\xf4Ks\x90\xcet\xea\x87Sg\xc8\x9aE |\x92\x8ax\xd9\x15s\x976\x1d\x15U{\xe3\xd4\t \xa2\xaf\xbcz\xaf\xffD\xa2`jt\xc1S\x9ca\x01\x00A\\\x02\xa6\xb1\x00i\xec\xbdJu\xec\xaf\x00q\x8b`\x10@$\x00\x00Z\x8d\x02\x00@\x00\x00\xfe\x90\n\x00\x00 \x00\x00\x00\x06\x00\x81@\x00:\x07\x00\x04\x02\x00\x80@\x00\x00\x01 \x12\x01\x04\x00\xa0\x02\xe0\x00\x90\x0b\x01\x82\x02\x90\xc0\n\x00P\x00\x01\x81\x14:\x06\x00P\x04aCjbT,\x10\x06\x80\x96\xb3\xecL4KI\x03\xbf\xb1p8>p\x13\xba\xba&N\xd5\xbf\xeb\x1d\xfcN\xd7x\xb6\xd1!O\xe3%,\x8d\x9b\x87M\xcf\xdc\x10\x04\x00;\x11\xff\t\x9b\x82%O\xd5\x0ff\x11\xce\x16av\xf1\xa3\xa7Q\xbd\xa6`mA\xcb\xd27\xb9E\xae\xb5<\xf3\r\x12e>tY\xe0$\x81\x06\xe7\xbcOZ\x99\xbb%\x1a\x13\xc2\x8c\xe0\xaf<\xca\x12\xf1R\x008\x00\x10\x00\x0c\x99\x83\xa0\x081\x10@\x06\xc0\xc0\x00\x00\x00\x00\x00\x10\xc0\x00\x04\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-view-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-view-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'view', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00+\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0C\xc0\x08V\x7f\xf7\x87\xaf\x01\x00\xc4\xc0\x1c\x10\x18\x8c\x00\xfcp\x03\x82CpN<\x08\x0f\xc5\xc1\xc0\x0f\x00\x1b +%I\xe5e\x89+t\xc7\xd6\xed\xf8\xd1y\x15\xb8\xb2\xe5D\xe1lB"\xe1\xd8T\x81\x86\x02\xc8\xea\xbb\xea\xf5r\x86Z/,\xa5{"\x82,@r\xf7\xb9\xa7\x94\x0b\x8d\xbc\xfb\x99\x9b}\x0f~\xd7\xc5\xaa\x02)\xe9\xd0\xd7\x06\n\x0e]\xaf\x85\x86\xa4\x83W\x00\x07\xc5\x9c\x06\xbf\x82\x06\x83\x00\x00\xe4\x07\x16\x8c\x00\x0e\x00\x00\x00\x00\x00\x06\x00\x8a\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\...00\xd0r\x82?\xa2\xf9\x9e\x98\x7fl\xaf\xda\xacx\x16#\x9a\xff\x03\x13\xd7V\xd4`n\xffN \x94t\xb4\xb7}\xfbP\xf6\x83\x19\x93\xa8~\x08\x8d\x1e\xa8\xab\x88\xec\xb5\xe5\xe1\xd2C\xd7D\xf8\xf4l\xb2\xcd\xa7>\xf7c\x00\x00L%\xe76\x98\xdf\x9a\x13\xbf\xc8\xf7|c\xb0\xd7\x95\xad\xf3x\x11WS\xb6\xf7\x1f\xcc*\xd4\xc8\x84\x1c\x16\x93\xd3\x15\x16\x04\\\xde\x02\x1e\x9f\xfbE\x12?\xaa\x86a \xd4\x19\xfc\x88w\t\xf0\xba7\xd8\x14\\\xed\xee\xc2[\x18\xfc\x1f8\xecg\xef\x928\x02\x18\x7f\x1f\xf0\x03\xec8\x028G\x03\xf0\x00~\x00\x02\x00\x07\x00\x00\x1c\x00\x00\x02\x00\x00\x00\x00\x1c\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-gray-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-gray-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-gray-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-gray-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-gray-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-gray-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfzt\xb3\x8f\xfd\x88\x00\x01\xf0\x1c`\x18c\x80xp\x0c\x0e4\x80A\xa4\x03\x81 \x08\x06 \x98\x06a\x8e\x90\x00\x04!\x00\x03\x12\x00\x00\x00\x80\x80\x00\x80`\x18\xe0\x00\xc7\x10\x10\x00 \x18\x00\x84 \x00\x02\x00@\x04\x03\x00\x00\x89 \x1c\x00H\x04\x00\x00\x10\x11$\x00\x08\x08\x8e\x00$\x00\x000\x0c\x01\xd2\x00\x00\x00\x80HB\x01 \x08\x00 \x00\x90\x08\x08\x00$\x01\x00\x03\x10\x02\x00@@\x00\x00\x00\x18\x00\x02\x03\x80\x00\x00\x80\x81 \x1c4\x801\x01 \x12\x01\xa41Y\xb7\xfe\x80$\x00\x00\x0b\x00 \x88\x05\x10q\xc5$\x03\x08BS\x00\xc1\x10\x80\x85!\x1c@@\x90\x80\x0c\x00@\x06\x91\x00&\x01\x11\x00\x00\x12\x01\xa4\x02\x08\x81\x82\x00\x04\x02B\x04\x00\x00B!\xc4\x00\x00HB\x01\x00\x00F\x08\x80\x10\x00\x02\x00\x00#@\x01\x00\x00\x1c@\x00\x00\x00@\x00h\x80C(\t\x00\x10\x00\x00@0\x8c\x04\x01 \x02\x11\x00@@\x80\x0e \x02\x80\x80\x00\x08\xd0\x10\xd4\x00@\x10\x12\x01!\x02D"\x9b\x7f\xe8\x02\x00\x04!\x08\x86 \x18\x01\x84 mU\x06B\x00\x00%\x00\x1e\x10a(\x00\x00\x85\x03\x11@@0\x84T \x12\x01\xa4P\x00\x00\x00\x91\n\x84\x02\x045\x01\x00\x01\x08\x12 \x00\x80\x86\x80\x00\x00\x02 \x08\x00\xd0!\x10\x04\x80\x00\x02\x00 \x12@0\x80\x10`\x02@$"H\xc5\x10\x03\x1d\x00\x08\x04\x84@\x18\x00\x04b\x08\t\x00\x10\r...\x00F\x1a\x00\x90\x01\x08\xd2\x11\x00\x00F@\x02\x00\x01\n\x04\x80I\x18\x82\x00@\x04\x08\x00\x10\r\x01\x1c\x00@\x01\x01 \x12\x10\xa0!\x88\xf7\xfe\x80 \x00@\x10\x00\x00\x06\xa0\x1e2\x80\xd4Y0\xc6\x81\x8a\xa3\x00 \x8e\x19\x00\x90\x0c\x02\x0cL\x03\xa2\x00\x00$\x00\x00\x00\x10\x01\x18@H\x00\x00I\x00\x10$\x02\xa8\x00\x00\x90\x84\x00\x02 \x0cU\x01 \x10\x00\x80\x00B\x91\x06\x80\x042\x80\x10\x00\x08\x920\xd4\x00\x01\x10\x00\x00!\x02D\x84\x08\x08\x8a\x02\x00$\x01\x00\x80\x01\x01\x01@\x08\x00\x00\x00\x12\x00\x80a\x88\x08\x00\x00\x00\x02@ \x88%\xd20\xc4\x04\x00HB\x90\x01\n@ \x00\x90\t\x00\x00\x00\x03H\x82@\x00\x01@@\x04\x04H\x10\x00\x00\x00\x00\x00\x00\x80\x08\x00\x00\xcf?\xf5\x00\x00\x10\x00\x00\x18\xa3\x80\x00\xa8\x00\x19"\x06\x90\x84\xa0\x14!\x19@D2\x80f\x10\xa0"\xa0\t!\x00@f\x01\x01\x00\x02\x10\x00\x00 \t\x00\x10$\x00\x02$\x8c\x11\x01\x00\x90\x04\x80\x00@\x11\x8c \x04\x08\x00\x90\t\x08\x82!\x03H\x01\x00\x00\x00\x00\x08\x04\x04(\x08`\x00\x00 \x08\x00\x00\t\x00\x11@@P\x00\x00\x12\x11 !\xa8\x80\x8c\x00\x04\x00B \x8c\x00\xc0!\x00\x00\x80HF\x01\x01\n\x00\x10\x80\x10\x00\x00@ \x00H\x02P\x12\x10@\x00\x04\x84h\x08B\x00\x00\x08\x00\x00\x00\t"\x02 \x08\x01\x00\x00\x10\x00\x00\x00\x00\x00\x00 $\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-gray-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-gray-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x8b\x06:V\x7f\xf7\x87\xaf\x0e;1\xc7@\xe0\rq1\x04\xc3\x1a@8\x8e\x90\xc0@\x11\xa4c\xa9\x00\xd2\x00\x88\x02\x81\x8c\xa4 \x00\x10\x00\x00\x04\x01\x00\x01S\x00\x8c\x01\t\x00\x04\x00@\x03\x00\x00\x00\x84a\xa1\x00\x08@@\x04\x00A\x10\x8a\x80A\xa8\x08\x00\x80\x8c\x03B\x04\x0cp\x01 \x10\x00\x80HF\x80\x8e\xa0\x04\x02\x00\x80\t\x08@\x10\x94\x04@@\x00\x01\x01\x12D0A\x08\xa0\x02\x00 #H\x00\x89\x03\x1c@\x08\x04\x00 \x00\x10\x00\x00\xa0\x00\x00\x00\x00\x00\x004\x80A\x01\x00\x04\x00\x00\x00\x00\x00\x0e\x00\x00 \x00\x00\t\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...0c\x02\x04\x00\x00`\x00\n@\x04\x01P\x18\x00\x00\x01\x02\x04@\x10H\x00\x00\x00"@\x85\x81!\x1d@H\x04\x84i\x12\x01 \x00\x08\t\x00\x90 \x00\x020\x80@\x00\x00P\x04\x00\x00\x06\x11\x08\x00\x04*\x00\x00\x01\x00\xc0 \x08BP\x10\x00\x01\x08\x00\x04@\x18j\x00@\x00\x01\x00\x00\x81\x03\x05\x00\x004\x00\x00\x10\x10$a\xa0\x01\x82\xa0 \x00B\x14\x84\x08\x92\x01\xd4\x04\x80@\x00\x01!\x00\x062\x80\x90\x01\x00\x00$ \x00\xc7P\x12\x1c@H\x00\x00`\x00\x02\x00\x02\x08\x00\x00\x90\x01 \x00\x00\x00@\x00\x00\x12\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-new-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-new-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-new-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-new-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-new-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-new-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-new-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-new-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-new-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-new-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-out-mode0-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-out-mode0-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError __________________ test_zfp[float64-line-out-out-mode1-None] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[float64-line-out-out-mode1-omp] ___________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-out-bytearray-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-out-bytearray-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-out-bytearray-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-out-bytearray-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-new-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-new-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-new-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-new-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-out-mode0-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-out-mode0-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _______________ test_zfp[float64-line-bytearray-out-mode1-None] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[float64-line-bytearray-out-mode1-omp] ________________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-line-bytearray-bytearray-mode0-None] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-line-bytearray-bytearray-mode0-omp] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\x14\xb3\x8f\xfd\x88\x00\x00\x00\x00\x04@\x10D\x01\x83\x01@\x00D\x00\x00@\x00@\x04\x01\x04@\x00D\x01\x00\x04@\x00\x04\x01\x04@\x00\x10D\x01\x00\x00\x00\x00\x00\x00\x04@\x00\x04\x00\x00@@\x00@\x00\x04\x00\x10\x04\x10\x1a+6\xff\xd4\x00\x04\x08\x00\x00\x80\x08"\x00\xc0\x00 \x08 \x00\x80 \x08\x08 \x00\x02 \x00\x02\x00\x00\x02\x00\x08"\x00\x02 \xa0\x00\x08\x00\x02\x00\x00*\n\x00\x82\x80\x00"\x00\x80U\x9b\x7f\xea\x00\x80\x00\x00\n\x00\x82 \x08\x01\x04-\x82\xa0\x08\n\x00\x80\x80\x00\x08(\x00\x02\x80\x00*\x00\x00\x00 \x00\x08\x00\x82\x80 \x08(\x00\x82\x00\x08 \x00\x02\xa0\x08(\x00\x80U\x9b\x7f\xe8\x00\x80 \x00\x08\n\x00\xc0@D\x1a\xa5\x00\x80 \x00 \x00\x82\x00\xa0\x00\x02\x00\x80 \x08\x02 \x00\x82 \x08*\x00\x82\x82\x80\x08*\x00\x80\x00\x08\x00\x02\x00\x80\xa0\x08 \x00@\x00J\x85Y\xf7\xfe\xa0D\x00\x05\x00\x00\x04\x01\x01\x01@\x10D\x01\x04\x00\x00\x10T\x01\x00@\x10T\x01\x01\x04\x00\x00D\x00\x01@@\x00\x04\x00\x00@\x00\x00\x14\x00\x05@\x00P\x00\x05\x00@\x00\x00\x01\x00\x00\x10X3o\xf9@\x00\x00\x00\x10\x14\x01\x00\x00\xa8\x02\r\x00\x01@\x00\x00\x01\x05@@\x00P\x01\x05\x00\x00DP\x00\x05@\x00T\x01\x00\x05\x00\x10P\x01\x01\x00\x10\x00\x10\x01\x00\x00\x10@\x01\xef\xfd@\x10\x10\x00\x00@\x11\x00`\x080\x14\x80\xb3A\x10\x00\x00\x00\x00P\x04\x04\x11\x00@\x00\x00\x10\x00\x00A\x10\x00\x14\x00AP\x00\x00\x05\x00\x01\x00\x04\x14\x10\x00\x01\x00\x00\x11\x00\x01\x01\x00\x00\x04\x00\x01P\x00\x04,\xe3\xff@\x04\x10\x00\x00\x00\x00\x11\x00\x01P\x00\x04\x10\x00@\x00\x04\x11\x00\x00\x00P\x00\x15\x00\x01\x10\x00\x04\x01\x00\x01P\x00\x11\x04\x00A\x00\x04\x04\x00A\x01\x10\x00\x10\x00@P\x00\x00\x00\x00@P\x00\x01\x00\x00\x00\x10\x00\x14\x00\x00P') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________ test_zfp[float64-line-bytearray-bytearray-mode1-None] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[float64-line-bytearray-bytearray-mode1-omp] _____________ dtype = dtype('float64'), itype = 'line', enout = 'bytearray' deout = 'bytearray', mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E assert False E + where False = (b'\x01\xe0\x00\x0b\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00A\xa8\x8bV\x7f\xf7\x87\xaf\xa8\x00\x00\x80 \x04\x01\x04\x00\x80 \x02\n\x80 \x00\x00\x00\n\x80 \x80\x02\x02\x00\x80\x00\x80\x02\x08\x80\x00\x00\x08\x02\x00\x80 \x80\x08\x00\x08\x00\x00\x08\x02\x00\x00\x00 \xa0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x84P\xac\xff\xe0\x00\x00\x00\x05\x00AP\x06\x00\x05\x00@P\x00\x15\x00AA\x10\x00\x04\x00\x00P\x00\x04\x11\x00@\x00\x00\x04\x00\x00@\x00\x00\x01\x00\x01P\x10\x00\x11\x00\x01@\x00\x10\x11\x00\x01\x10\x04\x05\x00\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00A\xab\x05Y\xff\xc0\x00\xa0\x00"\x00\xc0\x10\x14\x00\x02...x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xf0\x00\x00\x00\x00\x00\x00\x00\x15\x04A"\x88\xa0\x16\x7f\x00 \x00*\x00\x81\x10\x04\x00 \x00\x00\x00\x08\n\x00\x00\x82\xa0\x00*\x00\x02\x00\xa0\x08"\x00\x80\x00\x08\n(\x00\x82\xa0\x00\x02\x00\x82\x80\x80\x00"\x00\x02 \x08\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xff\x80\x00\x00\x00\x00\x00\x00\x00\x00\x80 \x04\x06 \xb3\x00 \x00\x00\n\x80\x00\xa8\x80\x00\x00\x80 \x00\x02\x08\x80 \x00\x00\x02\x80 \x00\x00\x00\x02\x00 \x00\x02\x02\x08\x80\x00\xa8\x00\x02\x80\x80 \x88\x02\n\x00\x00\x08\x88\x00\x08\x80 (\x02\n\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-rgba-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-rgba-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-rgba-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-rgba-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-rgba-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-rgba-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x008\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-view-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-view-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-view-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-view-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-view-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-view-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-view-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-view-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00(\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-gray-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-gray-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-gray-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-gray-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-gray-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-gray-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-gray-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-gray-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-new-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-new-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-new-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-new-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-new-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-new-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-new-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-new-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-new-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-new-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-out-mode0-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-out-mode0-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int32-line-out-out-mode1-None] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int32-line-out-out-mode1-omp] ____________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-out-bytearray-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-out-bytearray-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-out-bytearray-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-out-bytearray-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-new-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-new-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-new-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-new-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-out-mode0-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-out-mode0-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int32-line-bytearray-out-mode1-None] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int32-line-bytearray-out-mode1-omp] _________________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-line-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-line-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int32-line-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int32-line-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int32'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\x08\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-rgba-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-rgba-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-rgba-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-rgba-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-rgba-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-rgba-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x009\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-view-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-view-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-view-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-view-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-view-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-view-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-view-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-view-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'view', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00)\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-gray-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-gray-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-gray-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-gray-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-gray-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-gray-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x01\xf0\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-gray-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-gray-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x01\xf0\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-new-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-new-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-new-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-new-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-new-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-new-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'new', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-new-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-new-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-new-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-new-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'new', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-out-mode0-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-out-mode0-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_zfp[int64-line-out-out-mode1-None] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ____________________ test_zfp[int64-line-out-out-mode1-omp] ____________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'out', mode = 'p' execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-out-bytearray-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-out-bytearray-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-out-bytearray-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-out-bytearray-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'out', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-new-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-new-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-new-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-new-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'new' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-out-mode0-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-out-mode0-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ________________ test_zfp[int64-line-bytearray-out-mode1-None] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _________________ test_zfp[int64-line-bytearray-out-mode1-omp] _________________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'out' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-line-bytearray-bytearray-mode0-None] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-line-bytearray-bytearray-mode0-omp] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = None, execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\x00\x00\x00\x00\x88\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError _____________ test_zfp[int64-line-bytearray-bytearray-mode1-None] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = None @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ______________ test_zfp[int64-line-bytearray-bytearray-mode1-omp] ______________ dtype = dtype('int64'), itype = 'line', enout = 'bytearray', deout = 'bytearray' mode = 'p', execution = 'omp' @pytest.mark.skipif(not imagecodecs.ZFP, reason='zfp missing') @pytest.mark.parametrize('execution', [None, 'omp']) @pytest.mark.parametrize('mode', [(None, None), ('p', None)]) # ('r', 24) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) # 'view', @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['rgba', 'view', 'gray', 'line']) @pytest.mark.parametrize('dtype', ['float32', 'float64', 'int32', 'int64']) def test_zfp(dtype, itype, enout, deout, mode, execution): """Test ZFP codec.""" kwargs = {} if execution == 'omp': if os.environ.get('SKIP_OMP', False): pytest.skip('omp test skip because of environment variable') kwargs['numthreads'] = 2 kwargs['chunksize'] = None decode = imagecodecs.zfp_decode encode = imagecodecs.zfp_encode mode, level = mode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape kwargs = dict(mode=mode, level=level, execution=execution, **kwargs) encoded = encode(data, **kwargs) > assert imagecodecs.zfp_check(encoded) E AssertionError: assert False E + where False = (b'\x01\xe0\x00\t\x05pfz\xe0\x88\x80\x00\xff\xf0\x00\x00\x00\x00\x00\x00\x00\x07\x87\xaf\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00') E + where = imagecodecs.zfp_check tests/test_imagecodecs.py:2477: AssertionError ___________________ test_lerc[uint8-gray-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-gray-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-gray-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[uint8-rgb-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-new-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-new-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-None-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-None-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-True-None] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-rgba-out-out-True-0.02] ____________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-None-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-True-None] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-new-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-new-out-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-new-bytearray-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-new-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-None-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-None-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-True-None] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint8-channels-out-out-True-0.02] __________________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-out-bytearray-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-new-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-None-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-None-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-True-None] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint8-channels-bytearray-out-True-0.02] _______________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint8-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('uint8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-new-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-new-out-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-new-bytearray-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-new-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-None-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-None-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-True-None] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint8-stack-out-out-True-0.02] ___________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-out-bytearray-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-new-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-None-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-None-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-True-None] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint8-stack-bytearray-out-True-0.02] ________________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint8-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint8'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-gray-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-gray-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-new-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-new-out-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-new-bytearray-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-new-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-None-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-None-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-True-None] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgb-out-out-True-0.02] _____________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-out-bytearray-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-None-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-True-None] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgb-bytearray-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgb-bytearray-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int8-rgba-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int8-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int8-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-new-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-new-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-new-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-None-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-None-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-True-None] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[int8-channels-out-out-True-0.02] __________________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-out-bytearray-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-new-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-None-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-None-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-True-None] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[int8-channels-bytearray-out-True-0.02] _______________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[int8-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('int8'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-new-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-new-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-new-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-None-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-None-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-True-None] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int8-stack-out-out-True-0.02] ____________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-out-bytearray-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-new-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-None-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-None-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-True-None] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int8-stack-bytearray-out-True-0.02] _________________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-None-None] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-True-None] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int8-stack-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int8'), itype = 'stack', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-gray-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-gray-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-new-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-new-out-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-new-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-None-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-None-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-True-None] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgb-out-out-True-0.02] ____________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-None-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-True-None] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[uint16-rgba-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[uint16-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-new-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-new-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-new-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-None-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-None-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-True-None] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[uint16-channels-out-out-True-0.02] _________________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-out-bytearray-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-new-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-None-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-None-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-True-None] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[uint16-channels-bytearray-out-True-0.02] ______________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[uint16-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('uint16'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-new-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-new-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-new-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-None-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-None-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-True-None] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[uint16-stack-out-out-True-0.02] ___________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-out-bytearray-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-new-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-None-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-None-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-True-None] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[uint16-stack-bytearray-out-True-0.02] ________________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[uint16-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('uint16'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-gray-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-gray-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-gray-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'gray', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_lerc[int32-rgb-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-rgb-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-rgb-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'rgb', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-new-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-new-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-new-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-None-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-None-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-True-None] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-rgba-out-out-True-0.02] ____________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-out-bytearray-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-new-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-None-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-None-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-True-None] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-rgba-bytearray-out-True-0.02] _________________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-None-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-None-0.02] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-True-None] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-rgba-bytearray-bytearray-True-0.02] ______________ dtype = dtype('int32'), itype = 'rgba', enout = 'bytearray', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-new-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-new-out-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-new-bytearray-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-new-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-None-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-None-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-True-None] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________ test_lerc[int32-channels-out-out-True-0.02] __________________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-out-bytearray-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-new-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-None-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-None-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-True-None] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________ test_lerc[int32-channels-bytearray-out-True-0.02] _______________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-None-None] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-None-0.02] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-True-None] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________ test_lerc[int32-channels-bytearray-bytearray-True-0.02] ____________ dtype = dtype('int32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-new-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-new-out-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-new-bytearray-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-new-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-None-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-None-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-True-None] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[int32-stack-out-out-True-0.02] ___________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-out-bytearray-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-new-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-None-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-None-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-True-None] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[int32-stack-bytearray-out-True-0.02] ________________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-None-None] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-None-0.02] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-True-None] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[int32-stack-bytearray-bytearray-True-0.02] _____________ dtype = dtype('int32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 5.12, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-gray-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-gray-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float32-rgb-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-rgb-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-rgb-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-new-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-new-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-None-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-None-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-True-None] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-rgba-out-out-True-0.02] ___________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-None-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-True-None] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float32'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-new-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-new-out-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-new-bytearray-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-new-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-None-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-None-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-True-None] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float32-channels-out-out-True-0.02] _________________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-out-bytearray-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-new-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-None-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-None-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-True-None] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float32-channels-bytearray-out-True-0.02] ______________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float32-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('float32'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-new-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-new-out-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-new-bytearray-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-new-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-None-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-None-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-True-None] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float32-stack-out-out-True-0.02] __________________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-out-bytearray-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-new-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-None-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-None-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-True-None] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float32-stack-bytearray-out-True-0.02] _______________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-None-None] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-None-0.02] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-True-None] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float32-stack-bytearray-bytearray-True-0.02] ____________ dtype = dtype('float32'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-gray-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-gray-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-gray-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'gray', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_lerc[float64-rgb-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-rgb-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-rgb-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'rgb', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-new-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-new-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-new-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-None-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-None-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-True-None] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-rgba-out-out-True-0.02] ___________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-out-bytearray-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-new-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-None-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-None-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-True-None] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-rgba-bytearray-out-True-0.02] ________________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-None-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-None-0.02] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-True-None] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-rgba-bytearray-bytearray-True-0.02] _____________ dtype = dtype('float64'), itype = 'rgba', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-new-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-new-out-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-new-bytearray-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-new-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-None-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-None-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-True-None] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________ test_lerc[float64-channels-out-out-True-0.02] _________________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-out-bytearray-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-new-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-None-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-None-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-True-None] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________ test_lerc[float64-channels-bytearray-out-True-0.02] ______________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-None-None] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-None-0.02] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-True-None] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________ test_lerc[float64-channels-bytearray-bytearray-True-0.02] ___________ dtype = dtype('float64'), itype = 'channels', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-new-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-new-out-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-new-bytearray-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'new', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-new-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-None-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-None-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-True-None] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError __________________ test_lerc[float64-stack-out-out-True-0.02] __________________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-out-bytearray-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'out', deout = 'bytearray' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-new-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'new' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-None-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-None-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-True-None] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________ test_lerc[float64-stack-bytearray-out-True-0.02] _______________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray', deout = 'out' planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-None-None] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-None-0.02] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = None, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-True-None] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = None, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________ test_lerc[float64-stack-bytearray-bytearray-True-0.02] ____________ dtype = dtype('float64'), itype = 'stack', enout = 'bytearray' deout = 'bytearray', planar = True, level = 0.02, version = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') # @pytest.mark.parametrize('version', [None, 3]) @pytest.mark.parametrize('level', [None, 0.02]) @pytest.mark.parametrize('planar', [None, True]) @pytest.mark.parametrize('deout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('enout', ['new', 'out', 'bytearray']) @pytest.mark.parametrize('itype', ['gray', 'rgb', 'rgba', 'channels', 'stack']) @pytest.mark.parametrize( 'dtype', ['uint8', 'int8', 'uint16', 'int32', 'float32', 'float64'] ) def test_lerc(dtype, itype, enout, deout, planar, level, version=None): """Test LERC codec.""" if version is not None and version < 4 and itype != 'gray': pytest.xfail('lerc version does not support this case') decode = imagecodecs.lerc_decode encode = imagecodecs.lerc_encode dtype = numpy.dtype(dtype) itemsize = dtype.itemsize data = image_data(itype, dtype) shape = data.shape if level is not None and dtype.kind != 'f': level = level * 256 kwargs = dict(level=level, version=version, planar=planar) > encoded = encode(data, **kwargs) tests/test_imagecodecs.py:2533: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________________ test_lerc_files[world.lerc1] _________________________ file = 'world.lerc1' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError ______________ test_lerc_files[california_400_400_1_float.lerc2] _______________ file = 'california_400_400_1_float.lerc2' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError _______________ test_lerc_files[bluemarble_256_256_3_byte.lerc2] _______________ file = 'bluemarble_256_256_3_byte.lerc2' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError _________________________ test_lerc_files[zstd.lerc2] __________________________ file = 'zstd.lerc2' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize( 'file', [ 'world.lerc1', 'california_400_400_1_float.lerc2', 'bluemarble_256_256_3_byte.lerc2', 'zstd.lerc2', ], ) def test_lerc_files(file): """Test LERC decoder with lerc testData files.""" with open(datafiles(f'lerc/{file}'), 'rb') as fh: encoded = fh.read() > decoded = imagecodecs.lerc_decode(encoded, masks=False) tests/test_imagecodecs.py:2580: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_getBlobInfo', ret) E imagecodecs._lerc.LercError: lerc_getBlobInfo returned Failed imagecodecs/_lerc.pyx:291: LercError _________________________ test_lerc_compression[None] __________________________ compression = None @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:2628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _________________________ test_lerc_compression[zstd] __________________________ compression = 'zstd' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:2628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________________ test_lerc_compression[deflate] ________________________ compression = 'deflate' @pytest.mark.skipif(not imagecodecs.LERC, reason='lerc missing') @pytest.mark.parametrize('compression', [None, 'zstd', 'deflate']) def test_lerc_compression(compression): """Test LERC with compression.""" data = image_data('rgb', 'uint16') compressionargs = { None: None, 'zstd': {'level': 10}, 'deflate': {'level': 7}, }[compression] > compressed = imagecodecs.lerc_encode( data, compression=compression, compressionargs=compressionargs ) tests/test_imagecodecs.py:2628: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _______________________________ test_lerc_masks ________________________________ @pytest.mark.skipif(not imagecodecs.LERC or IS_PYPY, reason='lerc missing') def test_lerc_masks(): """Test LERC codec with masks.""" stack = image_data('stack', numpy.float32) masks = image_data('stack', bool) # 1 band, no mask data = stack[0] > encoded = imagecodecs.lerc_encode(data) tests/test_imagecodecs.py:2644: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________ test_tiff_files[rgb.tiled.jpeg.u1-False] ___________________ name = 'rgb.tiled.jpeg.u1', asrgb = False @pytest.mark.skipif(not imagecodecs.TIFF, reason='tiff missing') @pytest.mark.skipif(tifffile is None, reason='tifffile missing') @pytest.mark.parametrize('asrgb', [False, True]) @pytest.mark.parametrize('name', TIFF_FILES) def test_tiff_files(name, asrgb): """Test TIFF decode with existing files against tifffile.""" decode = imagecodecs.tiff_decode if ( 'depth' in name or 'jpeg.u2' in name or (not IS_CG and ('webp' in name or 'zstd' in name or 'lzma' in name)) ): pytest.xfail('not supported by libtiff or tiff_decode') filename = osp.join(TIFF_TEST_DIR, f'{name}.tif') with open(filename, 'rb') as fh: encoded = mmap.mmap(fh.fileno(), 0, access=mmap.ACCESS_READ) assert imagecodecs.tiff_check(encoded) if asrgb: if ( 'b1' in name or 'u1' in name or 'u2' in name or 'i1' in name or 'i2' in name ): decoded = decode(encoded, index=0, asrgb=1, verbose=1) else: with pytest.raises(imagecodecs.TiffError): decoded = decode(encoded, index=0, asrgb=1, verbose=1) return if 'b1' in name: pytest.xfail('not supported yet') data = tifffile.imread(filename) decoded = decode(encoded, index=None, verbose=1) if 'jpeg' in name: # tiff_decode returns RGBA for jpeg, tifffile returns RGB decoded = decoded[..., :3] > assert_array_equal(data, decoded) tests/test_imagecodecs.py:3373: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[[134, 122, 100], [132, 120, 98], [129, 116, 99], ..., ...140, 124], ..., [255, 147, 148], [255, 149, 151], [255, 146, 148]]]], dtype=uint8)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 53818 / 55278 (97.4%) E Max absolute difference: 128 E Max relative difference: 0.50196 E x: array([[[[134, 122, 100], E [132, 120, 98], E [129, 116, 99],... E y: array([[[[255, 100, 122], E [255, 98, 120], E [255, 99, 116],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _________________________ test_tifffile[lzw-True-f2-<] _________________________ byteorder = '<', dtype = 'f2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=float16)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _________________________ test_tifffile[lzw-True-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _________________________ test_tifffile[lzw-True-f4-<] _________________________ byteorder = '<', dtype = 'f4', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _________________________ test_tifffile[lzw-True-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'lzw', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[zstd-True-f2-<] _________________________ byteorder = '<', dtype = 'f2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=float16)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[zstd-True-f2->] _________________________ byteorder = '>', dtype = 'f2', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[zstd-True-f4-<] _________________________ byteorder = '<', dtype = 'f4', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[zstd-True-f4->] _________________________ byteorder = '>', dtype = 'f4', codec = 'zstd', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_tifffile[packbits-True-f2-<] _______________________ byteorder = '<', dtype = 'f2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=float16)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_tifffile[packbits-True-f2->] _______________________ byteorder = '>', dtype = 'f2', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.766 , 0.6265 ], [0.6064 , 0.805 , 0.6533 ], [0.697 , 0... ], [ nan, 0.00019, -7.19 ], [ -0.00005, 0.03296, 0.00409]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766 , 0.6265 ], E [0.6064 , 0.805 , 0.6533 ], E [0.697 , 0.818 , 0.656 ],... E y: array([[[ 0.000003, 0.01021 , 0.000049], E [ -199. , 10704. , 0.778 ], E [ -0.000882, -0.000221, 1.806 ],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_tifffile[packbits-True-f4-<] _______________________ byteorder = '<', dtype = 'f4', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ______________________ test_tifffile[packbits-True-f4->] _______________________ byteorder = '>', dtype = 'f4', codec = 'packbits', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': > assert_array_equal(data, image, verbose=True) tests/test_imagecodecs.py:3517: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0.5 , 0.76605, 0.62625], [0.60653, 0.80497, 0.65321], [0.69679, 0... [-2.32248e-37, 2.24825e+20, -1.99865e+15], [-9.92416e-36, -4.33710e-16, 1.15622e-32]]], dtype=' return func(*args, **kwds) E AssertionError: E Arrays are not equal E E x and y nan location mismatch: E x: array([[[0.5 , 0.766055, 0.626249], E [0.60653 , 0.804974, 0.653208], E [0.696793, 0.817962, 0.655634],... E y: array([[[ 8.828180e-44, 2.220682e-12, -9.644233e+20], E [-2.429524e-30, -1.463056e+02, -6.093122e-22], E [ 1.734849e-31, -2.838812e+29, -5.695061e-21],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[jpeg-False-u1-<] ________________________ byteorder = '<', dtype = 'u1', codec = 'jpeg', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF: if not (predictor and codec in ('packbits', 'lerc')): # libtiff does not support {codec} with predictor fh.seek(0) image2 = imagecodecs.tiff_decode(fh.read()) > assert_array_equal(image2, image, verbose=True) tests/test_imagecodecs.py:3524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[255, 153, 189], [255, 161, 201], [255, 161, 207], ..., ...130, 178, 92], ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], dtype=uint8)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference: 128 E Max relative difference: 5.35294 E x: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E y: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[jpeg-False-u1->] ________________________ byteorder = '>', dtype = 'u1', codec = 'jpeg', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) # with open(f'{codec}_{dtype}.tif', 'wb') as f: # fh.seek(0) # f.write(fh.read()) fh.seek(0) with tifffile.TiffFile(fh) as tif: assert tif.byteorder == byteorder image = tif.asarray() if byteorder == '>': image = image.byteswap().newbyteorder() if codec != 'jpeg': assert_array_equal(data, image, verbose=True) if imagecodecs.TIFF: if not (predictor and codec in ('packbits', 'lerc')): # libtiff does not support {codec} with predictor fh.seek(0) image2 = imagecodecs.tiff_decode(fh.read()) > assert_array_equal(image2, image, verbose=True) tests/test_imagecodecs.py:3524: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[255, 153, 189], [255, 161, 201], [255, 161, 207], ..., ...130, 178, 92], ..., [136, 128, 66], [139, 132, 54], [138, 134, 43]]], dtype=uint8)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 2956 / 2976 (99.3%) E Max absolute difference: 128 E Max relative difference: 5.35294 E x: array([[[255, 153, 189], E [255, 161, 201], E [255, 161, 207],... E y: array([[[147, 189, 153], E [166, 201, 161], E [185, 207, 161],... /usr/lib64/python3.13/contextlib.py:85: AssertionError ________________________ test_tifffile[lerc-False-u1-<] ________________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________________ test_tifffile[lerc-False-u2-<] ________________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ________________________ test_tifffile[lerc-False-f4-<] ________________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ________________________ test_tifffile[lerc-True-u1-<] _________________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ________________________ test_tifffile[lerc-True-u2-<] _________________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError _____________________ test_tifffile[lerc_zstd-False-u1-<] ______________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError _____________________ test_tifffile[lerc_zstd-False-u2-<] ______________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError _____________________ test_tifffile[lerc_zstd-False-f4-<] ______________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ______________________ test_tifffile[lerc_zstd-True-u1-<] ______________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ______________________ test_tifffile[lerc_zstd-True-u2-<] ______________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ____________________ test_tifffile[lerc_deflate-False-u1-<] ____________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_tifffile[lerc_deflate-False-u2-<] ____________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ____________________ test_tifffile[lerc_deflate-False-f4-<] ____________________ byteorder = '<', dtype = 'f4', codec = 'lerc', predictor = False @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError ____________________ test_tifffile[lerc_deflate-True-u1-<] _____________________ byteorder = '<', dtype = 'u1', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ____________________ test_tifffile[lerc_deflate-True-u2-<] _____________________ byteorder = '<', dtype = 'u2', codec = 'lerc', predictor = True @pytest.mark.skipif(tifffile is None, reason='tifffile module missing') @pytest.mark.parametrize('byteorder', ['<', '>']) @pytest.mark.parametrize('dtype', ['u1', 'u2', 'f2', 'f4']) @pytest.mark.parametrize('predictor', [False, True]) @pytest.mark.parametrize( 'codec', [ 'deflate', 'lzw', 'lzma', 'zstd', 'packbits', 'webp', 'jpeg', 'lerc', 'lerc_zstd', 'lerc_deflate', ], ) def test_tifffile(byteorder, dtype, codec, predictor): """Test tifffile compression.""" compressionargs = None if codec == 'deflate' and not imagecodecs.ZLIB: # TODO: this should pass in tifffile >= 2020 pytest.xfail('zlib missing') elif codec == 'lzma' and not imagecodecs.LZMA: pytest.xfail('lzma missing') elif codec == 'zstd' and not imagecodecs.ZSTD: pytest.xfail('zstd missing') elif codec == 'packbits' and not imagecodecs.PACKBITS: pytest.xfail('packbits missing') elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.xfail('jpeg missing') if predictor or dtype != 'u1': pytest.xfail('tiff/jpeg do not support this case') elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.xfail('jpegxl missing') if predictor: pytest.xfail('jpegxl does not support predictor') elif codec[:4] == 'lerc': if not imagecodecs.LERC: pytest.xfail('lerc missing') elif dtype == 'f2' or byteorder == '>': pytest.xfail('dtype not supported by lerc') elif dtype == 'f4' and predictor: pytest.xfail('lerc does not work with float predictor') if codec == 'lerc_zstd': if not imagecodecs.ZSTD: pytest.xfail('zstd codec missing') compressionargs = {'compression': 'zstd'} elif codec == 'lerc_deflate': if not imagecodecs.ZLIB: pytest.xfail('zlib codec missing') compressionargs = {'compression': 'deflate'} codec = 'lerc' elif codec == 'webp': if not imagecodecs.WEBP: pytest.xfail('webp missing') elif dtype != 'u1': pytest.xfail('dtype not supported') elif predictor: pytest.xfail('webp does not support predictor') data = image_data('rgb', dtype) if byteorder == '>': data = data.byteswap().newbyteorder() with io.BytesIO() as fh: > tifffile.imwrite( fh, data, photometric='rgb', compression=codec, compressionargs=compressionargs, predictor=predictor, byteorder=byteorder, ) tests/test_imagecodecs.py:3498: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/tifffile/tifffile.py:1457: in imwrite result = tif.write( /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3639: in write iteritem = cast(bytes, next(dataiter)) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22654: in encode_chunks yield func(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:22648: in func return encode(chunk) /usr/lib/python3.13/site-packages/tifffile/tifffile.py:3412: in compressionfunc return compressor(data, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise ValueError('data type not supported by LERC') E ValueError: data type not supported by LERC imagecodecs/_lerc.pyx:134: ValueError _________________________ test_numcodecs[float24-gray] _________________________ codec = 'float24', photometric = 'gray' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) z[:] = data del z z = zarr.open(store, mode='r') if codec == 'jetraw': pass # it does not make sense to test Jetraw on tiled, synthetic data elif lossless: > assert_array_equal(z[:], data) tests/test_imagecodecs.py:3955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [0., 0...0.], ..., [123., 58., 149.], [122., 54., 152.], [121., 51., 155.]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 1206 / 1206 (100%) E Max absolute difference: 244. E Max relative difference: 1. E x: array([[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E y: array([[[128., 140., 224.], E [132., 137., 222.], E [136., 133., 220.],... /usr/lib64/python3.13/contextlib.py:85: AssertionError _________________________ test_numcodecs[float24-rgb] __________________________ codec = 'float24', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) z[:] = data del z z = zarr.open(store, mode='r') if codec == 'jetraw': pass # it does not make sense to test Jetraw on tiled, synthetic data elif lossless: > assert_array_equal(z[:], data) tests/test_imagecodecs.py:3955: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ args = (, array([[[[0., 0., 0.], [0., 0., 0.], [0., 0., 0.], ..., [... ..., [145., 150., 150.], [145., 150., 148.], [144., 149., 146.]]]], dtype=float32)) kwds = {'err_msg': '', 'header': 'Arrays are not equal', 'strict': False, 'verbose': True} @wraps(func) def inner(*args, **kwds): with self._recreate_cm(): > return func(*args, **kwds) E AssertionError: E Arrays are not equal E E Mismatched elements: 363006 / 363006 (100%) E Max absolute difference: 250. E Max relative difference: 1. E x: array([[[[0., 0., 0.], E [0., 0., 0.], E [0., 0., 0.],... E y: array([[[[128., 141., 224.], E [128., 140., 224.], E [128., 139., 224.],... /usr/lib64/python3.13/contextlib.py:85: AssertionError __________________________ test_numcodecs[lerc-gray] ___________________________ codec = 'lerc', photometric = 'gray' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) > z[:] = data tests/test_imagecodecs.py:3948: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1497: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1593: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1983: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2038: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2304: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2314: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2444: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:814: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError ___________________________ test_numcodecs[lerc-rgb] ___________________________ codec = 'lerc', photometric = 'rgb' @pytest.mark.skipif(SKIP_NUMCODECS, reason='zarr or numcodecs missing') @pytest.mark.parametrize('photometric', ['gray', 'rgb']) @pytest.mark.parametrize( 'codec', [ 'aec', 'apng', 'avif', 'bitorder', 'bitshuffle', 'blosc', 'blosc2', # 'brotli', # failing 'byteshuffle', 'bz2', # 'cms', 'deflate', 'delta', 'float24', 'floatpred', 'gif', 'heif', # 'jetraw', # encoder requires a license 'jpeg', 'jpeg12', 'jpeg2k', 'jpegls', 'jpegxl', 'jpegxr', 'lerc', 'ljpeg', 'lz4', 'lz4f', 'lzf', 'lzfse', 'lzham', 'lzma', 'lzw', 'packbits', 'pglz', 'png', 'qoi', 'rgbe', 'rcomp', 'snappy', 'spng', 'tiff', # no encoder 'webp', 'xor', 'zfp', 'zlib', 'zlibng', 'zopfli', 'zstd', ], ) def test_numcodecs(codec, photometric): """Test numcodecs though roundtrips.""" data = numpy.load(datafiles('rgb.u1.npy')) data = numpy.stack([data, data]) if photometric == 'rgb': shape = data.shape chunks = (1, 128, 128, 3) axis = -2 else: data = data[:, :, 1].copy() shape = data.shape chunks = (1, 128, 128) axis = -1 lossless = True if codec == 'aec': if not imagecodecs.AEC: pytest.skip(f'{codec} not found') compressor = numcodecs.Aec( bitspersample=None, flags=None, blocksize=None, rsi=None ) elif codec == 'apng': if not imagecodecs.APNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Apng(photometric=photometric, delay=100) elif codec == 'avif': if not imagecodecs.AVIF: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('AVIF does not support grayscale') compressor = numcodecs.Avif( level=0, speed=None, tilelog2=None, bitspersample=None, pixelformat=None, numthreads=2, ) # lossless elif codec == 'bitorder': if not imagecodecs.BITORDER: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitorder() elif codec == 'bitshuffle': if not imagecodecs.BITSHUFFLE: pytest.skip(f'{codec} not found') compressor = numcodecs.Bitshuffle( itemsize=data.dtype.itemsize, blocksize=0 ) elif codec == 'blosc': if not imagecodecs.BLOSC: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'blosc2': if not imagecodecs.BLOSC2: pytest.skip(f'{codec} not found') compressor = numcodecs.Blosc2( level=9, compressor='blosclz', typesize=data.dtype.itemsize * 8, blocksize=None, shuffle=None, numthreads=2, ) elif codec == 'brotli': if not imagecodecs.BROTLI: pytest.skip(f'{codec} not found') # TODO: why are these failing? pytest.xfail('not sure why this is failing') compressor = numcodecs.Brotli(level=11, mode=None, lgwin=None) elif codec == 'byteshuffle': if not imagecodecs.BYTESHUFFLE: pytest.skip(f'{codec} not found') data = data.astype('int16') compressor = numcodecs.ByteShuffle( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'bz2': if not imagecodecs.BZ2: pytest.skip(f'{codec} not found') compressor = numcodecs.Bz2(level=9) elif codec == 'deflate': if not imagecodecs.DEFLATE: pytest.skip(f'{codec} not found') compressor = numcodecs.Deflate(level=8) elif codec == 'delta': if not imagecodecs.DELTA: pytest.skip(f'{codec} not found') compressor = numcodecs.Delta(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'float24': if not imagecodecs.FLOAT24: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Float24() elif codec == 'floatpred': if not imagecodecs.FLOATPRED: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.FloatPred( shape=chunks, dtype=data.dtype, axis=axis ) elif codec == 'gif': if not imagecodecs.GIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Gif() elif codec == 'heif': if not imagecodecs.HEIF: pytest.skip(f'{codec} not found') compressor = numcodecs.Heif(photometric=photometric) lossless = False # TODO: lossless not working atol = 1 elif codec == 'jetraw': if not imagecodecs.JETRAW: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('Jetraw does not support RGB') compressor = numcodecs.Jetraw( shape=chunks, identifier='500202_fast_bin1x' ) data = data.astype('uint16') lossless = False atol = 32 elif codec == 'jpeg': if not imagecodecs.JPEG: pytest.skip(f'{codec} not found') lossless = False atol = 4 compressor = numcodecs.Jpeg(level=99) elif codec == 'jpeg12': if not imagecodecs.JPEG12: pytest.skip(f'{codec} not found') lossless = False atol = 4 << 4 data = data.astype('uint16') << 4 compressor = numcodecs.Jpeg(level=99, bitspersample=12) elif codec == 'jpeg2k': if not imagecodecs.JPEG2K: pytest.skip(f'{codec} not found') compressor = numcodecs.Jpeg2k(level=0) # lossless elif codec == 'jpegls': if not imagecodecs.JPEGLS: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegLs(level=0) # lossless elif codec == 'jpegxl': if not imagecodecs.JPEGXL: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXl(level=101) # lossless elif codec == 'jpegxr': if not imagecodecs.JPEGXR: pytest.skip(f'{codec} not found') compressor = numcodecs.JpegXr( level=1.0, photometric='RGB' if photometric == 'rgb' else None ) # lossless elif codec == 'lerc': if not imagecodecs.LERC: pytest.skip(f'{codec} not found') if imagecodecs.ZSTD: compression = 'zstd' compressionargs = {'level': 10} else: compression = None compressionargs = None compressor = numcodecs.Lerc( level=0.0, compression=compression, compressionargs=compressionargs ) elif codec == 'ljpeg': if not imagecodecs.LJPEG: pytest.skip(f'{codec} not found') if photometric == 'rgb': pytest.xfail('LJPEG does not support rgb') data = data.astype('uint16') << 2 compressor = numcodecs.Ljpeg(bitspersample=10) elif codec == 'lz4': if not imagecodecs.LZ4: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4(level=10, hc=True, header=True) elif codec == 'lz4f': if not imagecodecs.LZ4F: pytest.skip(f'{codec} not found') compressor = numcodecs.Lz4f( level=12, blocksizeid=False, contentchecksum=True, blockchecksum=True, ) elif codec == 'lzf': if not imagecodecs.LZF: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzf(header=True) elif codec == 'lzfse': if not imagecodecs.LZFSE: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzfse() elif codec == 'lzham': if not imagecodecs.LZHAM: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzham(level=6) elif codec == 'lzma': if not imagecodecs.LZMA: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzma( level=6, check=imagecodecs.LZMA.CHECK.CRC32 ) elif codec == 'lzw': if not imagecodecs.LZW: pytest.skip(f'{codec} not found') compressor = numcodecs.Lzw() elif codec == 'packbits': if not imagecodecs.PACKBITS: pytest.skip(f'{codec} not found') if photometric == 'rgb': compressor = numcodecs.PackBits(axis=-2) else: compressor = numcodecs.PackBits() elif codec == 'pglz': if not imagecodecs.PGLZ: pytest.skip(f'{codec} not found') compressor = numcodecs.Pglz(strategy=None) elif codec == 'png': if not imagecodecs.PNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Png() elif codec == 'qoi': if not imagecodecs.QOI: pytest.skip(f'{codec} not found') compressor = numcodecs.Qoi() if photometric != 'rgb': pytest.xfail('QOI does not support grayscale') elif codec == 'rgbe': if not imagecodecs.RGBE: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('RGBE does not support grayscale') data = data.astype('float32') # lossless = False compressor = numcodecs.Rgbe(shape=chunks[-3:], header=False, rle=True) elif codec == 'rcomp': if not imagecodecs.RCOMP: pytest.skip(f'{codec} not found') compressor = numcodecs.Rcomp(shape=chunks, dtype=data.dtype) elif codec == 'snappy': if not imagecodecs.SNAPPY: pytest.skip(f'{codec} not found') compressor = numcodecs.Snappy() elif codec == 'spng': if not imagecodecs.SPNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Spng() elif codec == 'tiff': if not imagecodecs.TIFF: pytest.skip(f'{codec} not found') pytest.xfail('TIFF encode not implemented') compressor = numcodecs.Tiff() elif codec == 'webp': if not imagecodecs.WEBP: pytest.skip(f'{codec} not found') if photometric != 'rgb': pytest.xfail('WebP does not support grayscale') compressor = numcodecs.Webp(level=-1) elif codec == 'xor': if not imagecodecs.XOR: pytest.skip(f'{codec} not found') compressor = numcodecs.Xor(shape=chunks, dtype=data.dtype, axis=axis) elif codec == 'zfp': if not imagecodecs.ZFP: pytest.skip(f'{codec} not found') data = data.astype('float32') compressor = numcodecs.Zfp( shape=chunks, dtype=data.dtype, header=False ) elif codec == 'zlib': if not imagecodecs.ZLIB: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlib(level=6) elif codec == 'zlibng': if not imagecodecs.ZLIBNG: pytest.skip(f'{codec} not found') compressor = numcodecs.Zlibng(level=6) elif codec == 'zopfli': if not imagecodecs.ZOPFLI: pytest.skip(f'{codec} not found') compressor = numcodecs.Zopfli() elif codec == 'zstd': if not imagecodecs.ZSTD: pytest.skip(f'{codec} not found') compressor = numcodecs.Zstd(level=10) else: raise RuntimeError() if 0: # use ZIP file on disk fname = f'test_{codec}.{photometric}.{data.dtype.str[1:]}.zarr.zip' store = zarr.ZipStore(fname, mode='w') else: store = zarr.MemoryStore() z = zarr.create( store=store, overwrite=True, shape=shape, chunks=chunks, dtype=data.dtype.str, compressor=compressor, ) > z[:] = data tests/test_imagecodecs.py:3948: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3.13/site-packages/zarr/core.py:1497: in __setitem__ self.set_basic_selection(pure_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1593: in set_basic_selection return self._set_basic_selection_nd(selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:1983: in _set_basic_selection_nd self._set_selection(indexer, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2038: in _set_selection self._chunk_setitem(chunk_coords, chunk_selection, chunk_value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2304: in _chunk_setitem self._chunk_setitem_nosync(chunk_coords, chunk_selection, value, fields=fields) /usr/lib/python3.13/site-packages/zarr/core.py:2314: in _chunk_setitem_nosync self.chunk_store[ckey] = self._encode_chunk(cdata) /usr/lib/python3.13/site-packages/zarr/core.py:2444: in _encode_chunk cdata = self._compressor.encode(chunk) ../BUILDROOT/usr/lib64/python3.13/site-packages/imagecodecs/numcodecs.py:814: in encode return imagecodecs.lerc_encode( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > raise LercError('lerc_computeCompressedSizeForVersion', ret) E imagecodecs._lerc.LercError: lerc_computeCompressedSizeForVersion returned Failed imagecodecs/_lerc.pyx:191: LercError =========================== short test summary info ============================ FAILED tests/test_imagecodecs.py::test_packints_decode - AssertionError: asse... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-encode-new] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-encode-out] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-decode-new] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[False-be-decode-out] - Asser... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-encode-new] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-encode-out] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-decode-new] - Assert... FAILED tests/test_imagecodecs.py::test_floatpred[True-be-decode-out] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f30-f40-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f31-f41-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f32-f42-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f33-f43-inf] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f34-f44--inf] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f36-f46--0.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f37-f47-1.0] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode->-f38-f48--1.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode->-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[encode->-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode->-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode->-f312-f412-1e-19] - As... FAILED tests/test_imagecodecs.py::test_float24[encode->-f313-f413-inf] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode->-f314-f414-1.0842022e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f315-f415-1.0842021e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f316-f416-5.421011e-20] FAILED tests/test_imagecodecs.py::test_float24[encode->-f317-f417-3.3087225e-24] FAILED tests/test_imagecodecs.py::test_float24[encode->-f318-f418-2.1684043e-19] FAILED tests/test_imagecodecs.py::test_float24[encode->-f320-f420-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode->-f322-f422-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f30-f40-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f31-f41-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f32-f42-nan] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f33-f43-inf] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f34-f44--inf] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f36-f46--0.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f37-f47-1.0] - Assert... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f38-f48--1.0] - Asser... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f312-f412-1e-19] - As... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f313-f413-inf] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f314-f414-1.0842022e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f315-f415-1.0842021e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f316-f416-5.421011e-20] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f317-f417-3.3087225e-24] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f318-f418-2.1684043e-19] FAILED tests/test_imagecodecs.py::test_float24[encode-<-f320-f420-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[encode-<-f322-f422-0.0] - Asse... FAILED tests/test_imagecodecs.py::test_float24[decode->-f30-f40-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f31-f41-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f32-f42-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f33-f43-inf] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f34-f44--inf] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode->-f37-f47-1.0] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode->-f38-f48--1.0] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode->-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[decode->-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode->-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode->-f313-f413-inf] - asse... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f30-f40-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f31-f41-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f32-f42-nan] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f33-f43-inf] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f34-f44--inf] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f37-f47-1.0] - assert... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f38-f48--1.0] - asser... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f39-f49-3.1416016] - ... FAILED tests/test_imagecodecs.py::test_float24[decode-<-f310-f410-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode-<-f311-f411-3.1415839e-06] FAILED tests/test_imagecodecs.py::test_float24[decode-<-f313-f413-inf] - asse... FAILED tests/test_imagecodecs.py::test_cms_format - AssertionError: assert 'u... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float32-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-new-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode0-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-out-mode1-omp] - ... FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[float64-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int32-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-rgba-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-view-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-gray-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-new-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-new-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode0-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-None] - A... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-out-mode1-omp] - As... FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-out-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-new-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-out-mode1-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode0-omp] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-None] FAILED tests/test_imagecodecs.py::test_zfp[int64-line-bytearray-bytearray-mode1-omp] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint8-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-new-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-out-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-new-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-None-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-None] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-out-True-0.02] - ima... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int8-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[uint16-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-new-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-None-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-None] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-out-True-0.02] - im... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-new-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-None-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-None] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-out-True-0.02] - i... FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[int32-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float32-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-gray-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-new-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-None-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-None] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-out-True-0.02] - ... FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgb-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-rgba-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-channels-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-new-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-out-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-new-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-out-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-None-0.02] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-None] FAILED tests/test_imagecodecs.py::test_lerc[float64-stack-bytearray-bytearray-True-0.02] FAILED tests/test_imagecodecs.py::test_lerc_files[world.lerc1] - imagecodecs.... FAILED tests/test_imagecodecs.py::test_lerc_files[california_400_400_1_float.lerc2] FAILED tests/test_imagecodecs.py::test_lerc_files[bluemarble_256_256_3_byte.lerc2] FAILED tests/test_imagecodecs.py::test_lerc_files[zstd.lerc2] - imagecodecs._... FAILED tests/test_imagecodecs.py::test_lerc_compression[None] - imagecodecs._... FAILED tests/test_imagecodecs.py::test_lerc_compression[zstd] - imagecodecs._... FAILED tests/test_imagecodecs.py::test_lerc_compression[deflate] - imagecodec... FAILED tests/test_imagecodecs.py::test_lerc_masks - imagecodecs._lerc.LercErr... FAILED tests/test_imagecodecs.py::test_tiff_files[rgb.tiled.jpeg.u1-False] - ... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f2->] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4-<] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[lzw-True-f4->] - AssertionErr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f2->] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4-<] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[zstd-True-f4->] - AssertionEr... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f2->] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4-<] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[packbits-True-f4->] - Asserti... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1-<] - AssertionE... FAILED tests/test_imagecodecs.py::test_tifffile[jpeg-False-u1->] - AssertionE... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-u1-<] - imagecodec... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-u2-<] - ValueError... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-False-f4-<] - ValueError... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-True-u1-<] - imagecodecs... FAILED tests/test_imagecodecs.py::test_tifffile[lerc-True-u2-<] - ValueError:... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u1-<] - image... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-u2-<] - Value... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-False-f4-<] - Value... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u1-<] - imagec... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_zstd-True-u2-<] - ValueE... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u1-<] - im... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-u2-<] - Va... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-False-f4-<] - Va... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u1-<] - ima... FAILED tests/test_imagecodecs.py::test_tifffile[lerc_deflate-True-u2-<] - Val... FAILED tests/test_imagecodecs.py::test_numcodecs[float24-gray] - AssertionErr... FAILED tests/test_imagecodecs.py::test_numcodecs[float24-rgb] - AssertionError: FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-gray] - imagecodecs._le... FAILED tests/test_imagecodecs.py::test_numcodecs[lerc-rgb] - imagecodecs._ler... = 1770 failed, 2776 passed, 4132 skipped, 296 deselected, 1363 xfailed in 314.72s (0:05:14) = + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-imagecodecs-2023.1.23-4.fc42.s390x Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.01HDUq + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + DOCDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/doc/python3-imagecodecs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/doc/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/README.rst /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/doc/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XJaj48 + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + cd imagecodecs-2023.1.23 + LICENSEDIR=/builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + cp -pr /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/imagecodecs-2023.1.23/LICENSE /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT/usr/share/licenses/python3-imagecodecs + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-imagecodecs = 2023.1.23-4.fc42 python3-imagecodecs = 2023.1.23-4.fc42 python3-imagecodecs(s390-64) = 2023.1.23-4.fc42 python3.13-imagecodecs = 2023.1.23-4.fc42 python3.13dist(imagecodecs) = 2023.1.23 python3dist(imagecodecs) = 2023.1.23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 libLerc.so.4()(64bit) libaec.so.0()(64bit) libavif.so.16()(64bit) libblosc.so.1()(64bit) libblosc2.so.4()(64bit) libbrotlidec.so.1()(64bit) libbrotlienc.so.1()(64bit) libbz2.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcfitsio.so.10()(64bit) libdeflate.so.0()(64bit) libgif.so.7()(64bit) libheif.so.1()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEGTURBO_6.2)(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libjpegxr.so.0()(64bit) libjxrglue.so.0()(64bit) liblcms2.so.2()(64bit) liblz4.so.1()(64bit) liblzma.so.5()(64bit) liblzma.so.5(XZ_5.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libsnappy.so.1()(64bit) libtiff.so.6()(64bit) libtiff.so.6(LIBTIFF_4.0)(64bit) libtiff.so.6(LIBTIFF_4.5)(64bit) libwebp.so.7()(64bit) libz-ng.so.2()(64bit) libz-ng.so.2(ZLIB_NG_2.0.0)(64bit) libz-ng.so.2(ZLIB_NG_2.1.0)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) libz.so.1(ZLIB_1.2.9)(64bit) libzfp.so.1()(64bit) libzopfli.so.1()(64bit) libzstd.so.1()(64bit) python(abi) = 3.13 python3.13dist(numpy) rtld(GNU_HASH) Processing files: python-imagecodecs-debugsource-2023.1.23-4.fc42.s390x Provides: python-imagecodecs-debugsource = 2023.1.23-4.fc42 python-imagecodecs-debugsource(s390-64) = 2023.1.23-4.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-imagecodecs-debuginfo-2023.1.23-4.fc42.s390x Provides: debuginfo(build-id) = 05764caae030c9e921ef3fa7e2388df8ce100466 debuginfo(build-id) = 05de6162d6d1159ee5777614e9c6a951cc8e8396 debuginfo(build-id) = 0ea1d76b4bf8908380de01f10f8a62df1a9d7918 debuginfo(build-id) = 1bedf415d038ba2c3c0bd248c3b29dc7fd9ee597 debuginfo(build-id) = 1e3ec2a1593b902d9e2711f020d2f89bad21fd5a debuginfo(build-id) = 37216f28da079bc4f097b675f7f4b1a15326fa76 debuginfo(build-id) = 3ea6839f4f5aa6f7a9354f59a545b04b1dd59df0 debuginfo(build-id) = 4366e482ed49cc17107e8c971047039767e794b8 debuginfo(build-id) = 4909c24c945ec3f4851071842a3a13ac0df41f99 debuginfo(build-id) = 667d75fce73e60b3b828e563828ea934ae352188 debuginfo(build-id) = 71f118317f6c3f06b94762926578314411dd9bba debuginfo(build-id) = 78074a9e1998f3d72d319c49346a00436af43a71 debuginfo(build-id) = 78c99e74b041caca08e375b5eb5b13316c029b88 debuginfo(build-id) = 7c1b75be159f56866c7dc54db108228b01232cb4 debuginfo(build-id) = 7e5db8e592c0cacb6e3cf39d2a0ca159cf0ae7bb debuginfo(build-id) = 7f6f054e5ac1b5eccccad0315df0e73451ed788f debuginfo(build-id) = 87bc855812244e2ecd979621cad0bc765b97d1fe debuginfo(build-id) = 8bc4eac10ed69c9556bc6246255973e4a01c3e5f debuginfo(build-id) = a1a75b6214372584efe38650afb0af4af8727a14 debuginfo(build-id) = b3438e1f613965067c83cf42c0967fc2aa3625a0 debuginfo(build-id) = c1061440356458a96d1983c3dcf92c6063490f0e debuginfo(build-id) = ca489f57b522c17cb95671edfcbabf8bb2d5abcb debuginfo(build-id) = d59603017ea9ed7faeec94fe3030900b44f784f4 debuginfo(build-id) = df80805c96d4efa087e13f75fc44d12d1b3dfb07 debuginfo(build-id) = e7cbe146a5a5b7dd005293321394b72469ef1ea3 debuginfo(build-id) = e83678ee0b76f9ff25be1b4a86192ce407b3bb63 debuginfo(build-id) = ee88bf802462e4cda9346ae8a610de901a056ff4 python-imagecodecs-debuginfo = 2023.1.23-4.fc42 python3-imagecodecs-debuginfo = 2023.1.23-4.fc42 python3-imagecodecs-debuginfo(s390-64) = 2023.1.23-4.fc42 python3.13-imagecodecs-debuginfo = 2023.1.23-4.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-imagecodecs-debugsource(s390-64) = 2023.1.23-4.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/python-imagecodecs-2023.1.23-build/BUILDROOT Wrote: /builddir/build/SRPMS/python-imagecodecs-2023.1.23-4.fc42.src.rpm Wrote: /builddir/build/RPMS/python-imagecodecs-debugsource-2023.1.23-4.fc42.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-2023.1.23-4.fc42.s390x.rpm Wrote: /builddir/build/RPMS/python3-imagecodecs-debuginfo-2023.1.23-4.fc42.s390x.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.HRKxkq + umask 022 + cd /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + test -d /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + rm -rf /builddir/build/BUILD/python-imagecodecs-2023.1.23-build + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild python-imagecodecs-2023.1.23-4.fc42.src.rpm Finish: build phase for python-imagecodecs-2023.1.23-4.fc42.src.rpm INFO: chroot_scan: 1 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-s390x-1727425272.960306/root/var/log/dnf5.log INFO: Done(/var/lib/copr-rpmbuild/results/python-imagecodecs-2023.1.23-4.fc42.src.rpm) Config(child) 12 minutes 52 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": "python-imagecodecs", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "src" }, { "name": "python3-imagecodecs-debuginfo", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "s390x" }, { "name": "python-imagecodecs-debugsource", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "s390x" }, { "name": "python3-imagecodecs", "epoch": null, "version": "2023.1.23", "release": "4.fc42", "arch": "s390x" } ] } RPMResults finished